Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Side by Side Diff: native_client_sdk/src/test_all.py

Issue 524503002: [NaCl SDK] Fix a bug in build_version.ChromeVersion() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « native_client_sdk/src/build_tools/tests/build_version_test.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import os 6 import os
7 import subprocess 7 import subprocess
8 import sys 8 import sys
9 import unittest 9 import unittest
10 10
(...skipping 12 matching lines...) Expand all
23 23
24 PKG_VER_DIR = os.path.join(build_paths.NACL_DIR, 'build', 'package_version') 24 PKG_VER_DIR = os.path.join(build_paths.NACL_DIR, 'build', 'package_version')
25 TAR_DIR = os.path.join(build_paths.NACL_DIR, 'toolchain', '.tars') 25 TAR_DIR = os.path.join(build_paths.NACL_DIR, 'toolchain', '.tars')
26 26
27 PKG_VER = os.path.join(PKG_VER_DIR, 'package_version.py') 27 PKG_VER = os.path.join(PKG_VER_DIR, 'package_version.py')
28 28
29 EXTRACT_PACKAGES = ['nacl_x86_glibc'] 29 EXTRACT_PACKAGES = ['nacl_x86_glibc']
30 TOOLCHAIN_OUT = os.path.join(build_paths.OUT_DIR, 'sdk_tests', 'toolchain') 30 TOOLCHAIN_OUT = os.path.join(build_paths.OUT_DIR, 'sdk_tests', 'toolchain')
31 31
32 TEST_MODULES = [ 32 TEST_MODULES = [
33 'build_version_test',
33 'create_html_test', 34 'create_html_test',
34 'create_nmf_test', 35 'create_nmf_test',
35 'easy_template_test', 36 'easy_template_test',
36 'elf_test', 37 'elf_test',
37 'fix_deps_test', 38 'fix_deps_test',
38 'getos_test', 39 'getos_test',
39 'get_shared_deps_test', 40 'get_shared_deps_test',
40 'httpd_test', 41 'httpd_test',
41 'nacl_config_test', 42 'nacl_config_test',
42 'oshelpers_test', 43 'oshelpers_test',
(...skipping 22 matching lines...) Expand all
65 suite = unittest.TestSuite() 66 suite = unittest.TestSuite()
66 for module_name in TEST_MODULES: 67 for module_name in TEST_MODULES:
67 module = __import__(module_name) 68 module = __import__(module_name)
68 suite.addTests(unittest.defaultTestLoader.loadTestsFromModule(module)) 69 suite.addTests(unittest.defaultTestLoader.loadTestsFromModule(module))
69 70
70 result = unittest.TextTestRunner(verbosity=2).run(suite) 71 result = unittest.TextTestRunner(verbosity=2).run(suite)
71 return int(not result.wasSuccessful()) 72 return int(not result.wasSuccessful())
72 73
73 if __name__ == '__main__': 74 if __name__ == '__main__':
74 sys.exit(main()) 75 sys.exit(main())
OLDNEW
« no previous file with comments | « native_client_sdk/src/build_tools/tests/build_version_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698