OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
3 # | 3 # |
4 # Use of this source code is governed by a BSD-style license | 4 # Use of this source code is governed by a BSD-style license |
5 # that can be found in the LICENSE file in the root of the source | 5 # that can be found in the LICENSE file in the root of the source |
6 # tree. An additional intellectual property rights grant can be found | 6 # tree. An additional intellectual property rights grant can be found |
7 # in the file PATENTS. All contributing project authors may | 7 # in the file PATENTS. All contributing project authors may |
8 # be found in the AUTHORS file in the root of the source tree. | 8 # be found in the AUTHORS file in the root of the source tree. |
9 | 9 |
10 """Tests for mb.py.""" | 10 """Tests for mb.py.""" |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 files = isolate_file_contents['variables']['files'] | 522 files = isolate_file_contents['variables']['files'] |
523 command = isolate_file_contents['variables']['command'] | 523 command = isolate_file_contents['variables']['command'] |
524 | 524 |
525 self.assertEqual(files, [ | 525 self.assertEqual(files, [ |
526 '../../testing/test_env.py', | 526 '../../testing/test_env.py', |
527 '../../testing/xvfb.py', | 527 '../../testing/xvfb.py', |
528 '../../third_party/gtest-parallel/gtest-parallel', | 528 '../../third_party/gtest-parallel/gtest-parallel', |
529 '../../third_party/gtest-parallel/gtest-parallel-wrapper.py', | 529 '../../third_party/gtest-parallel/gtest-parallel-wrapper.py', |
530 'base_unittests', | 530 'base_unittests', |
531 'some_resource_file', | 531 'some_resource_file', |
532 'xdisplaycheck', | |
533 ]) | 532 ]) |
534 self.assertEqual(command, [ | 533 self.assertEqual(command, [ |
535 '../../testing/xvfb.py', | 534 '../../testing/xvfb.py', |
536 '.', | 535 '.', |
537 '../../third_party/gtest-parallel/gtest-parallel-wrapper.py', | 536 '../../third_party/gtest-parallel/gtest-parallel-wrapper.py', |
538 './base_unittests', | 537 './base_unittests', |
539 '--', | 538 '--', |
540 '--asan=0', | 539 '--asan=0', |
541 '--msan=0', | 540 '--msan=0', |
542 '--tsan=0', | 541 '--tsan=0', |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
834 self.check(['lookup', '-c', 'fake_config'], mbw=mbw, | 833 self.check(['lookup', '-c', 'fake_config'], mbw=mbw, |
835 ret=0, | 834 ret=0, |
836 out=("GYP_DEFINES='foo=bar baz=1'\n" | 835 out=("GYP_DEFINES='foo=bar baz=1'\n" |
837 "GYP_LINK_CONCURRENCY=1\n" | 836 "GYP_LINK_CONCURRENCY=1\n" |
838 "LLVM_FORCE_HEAD_REVISION=1\n" | 837 "LLVM_FORCE_HEAD_REVISION=1\n" |
839 "python build/gyp_chromium -G output_dir=_path_\n")) | 838 "python build/gyp_chromium -G output_dir=_path_\n")) |
840 | 839 |
841 | 840 |
842 if __name__ == '__main__': | 841 if __name__ == '__main__': |
843 unittest.main() | 842 unittest.main() |
OLD | NEW |