OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 """Entry point for both build and try bots | 6 """Entry point for both build and try bots |
7 | 7 |
8 This script is invoked from XXX, usually without arguments | 8 This script is invoked from XXX, usually without arguments |
9 to package an SDK. It automatically determines whether | 9 to package an SDK. It automatically determines whether |
10 this SDK is for mac, win, linux. | 10 this SDK is for mac, win, linux. |
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 env = os.environ | 632 env = os.environ |
633 | 633 |
634 buildbot_common.Run(['make', '-j8'], | 634 buildbot_common.Run(['make', '-j8'], |
635 cwd=os.path.abspath(example_dir), shell=True, env=env) | 635 cwd=os.path.abspath(example_dir), shell=True, env=env) |
636 | 636 |
637 TEST_EXAMPLE_LIST = [ | 637 TEST_EXAMPLE_LIST = [ |
638 ] | 638 ] |
639 | 639 |
640 TEST_LIBRARY_LIST = [ | 640 TEST_LIBRARY_LIST = [ |
641 'gtest', | 641 'gtest', |
| 642 'gtest_ppapi', |
642 ] | 643 ] |
643 | 644 |
644 def BuildStepCopyTests(pepperdir, toolchains, build_experimental): | 645 def BuildStepCopyTests(pepperdir, toolchains, build_experimental): |
645 buildbot_common.BuildStep('Copy Tests') | 646 buildbot_common.BuildStep('Copy Tests') |
646 | 647 |
647 testingdir = os.path.join(pepperdir, 'testing') | 648 testingdir = os.path.join(pepperdir, 'testing') |
648 buildbot_common.RemoveDir(testingdir) | 649 buildbot_common.RemoveDir(testingdir) |
649 buildbot_common.MakeDir(testingdir) | 650 buildbot_common.MakeDir(testingdir) |
650 | 651 |
651 args = ['--dstroot=%s' % pepperdir, '--master'] | 652 args = ['--dstroot=%s' % pepperdir, '--master'] |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
832 # Archive on non-trybots. | 833 # Archive on non-trybots. |
833 if options.archive or buildbot_common.IsSDKBuilder(): | 834 if options.archive or buildbot_common.IsSDKBuilder(): |
834 BuildStepArchiveBundle(pepper_ver, clnumber, tarfile) | 835 BuildStepArchiveBundle(pepper_ver, clnumber, tarfile) |
835 BuildStepArchiveSDKTools() | 836 BuildStepArchiveSDKTools() |
836 | 837 |
837 return 0 | 838 return 0 |
838 | 839 |
839 | 840 |
840 if __name__ == '__main__': | 841 if __name__ == '__main__': |
841 sys.exit(main(sys.argv)) | 842 sys.exit(main(sys.argv)) |
OLD | NEW |