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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 ]) | 532 ]) |
533 self.assertEqual(command, [ | 533 self.assertEqual(command, [ |
534 '../../testing/xvfb.py', | 534 '../../testing/xvfb.py', |
535 '.', | |
536 '../../third_party/gtest-parallel/gtest-parallel-wrapper.py', | 535 '../../third_party/gtest-parallel/gtest-parallel-wrapper.py', |
537 './base_unittests', | 536 './base_unittests', |
538 '--', | 537 '--', |
539 '--asan=0', | 538 '--asan=0', |
540 '--msan=0', | 539 '--msan=0', |
541 '--tsan=0', | 540 '--tsan=0', |
542 ]) | 541 ]) |
543 | 542 |
544 def test_gn_gen_windowed_test_launcher_win(self): | 543 def test_gn_gen_windowed_test_launcher_win(self): |
545 files = { | 544 files = { |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 self.check(['lookup', '-c', 'fake_config'], mbw=mbw, | 832 self.check(['lookup', '-c', 'fake_config'], mbw=mbw, |
834 ret=0, | 833 ret=0, |
835 out=("GYP_DEFINES='foo=bar baz=1'\n" | 834 out=("GYP_DEFINES='foo=bar baz=1'\n" |
836 "GYP_LINK_CONCURRENCY=1\n" | 835 "GYP_LINK_CONCURRENCY=1\n" |
837 "LLVM_FORCE_HEAD_REVISION=1\n" | 836 "LLVM_FORCE_HEAD_REVISION=1\n" |
838 "python build/gyp_chromium -G output_dir=_path_\n")) | 837 "python build/gyp_chromium -G output_dir=_path_\n")) |
839 | 838 |
840 | 839 |
841 if __name__ == '__main__': | 840 if __name__ == '__main__': |
842 unittest.main() | 841 unittest.main() |
OLD | NEW |