зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1217144: Allow for cppunittest to be run locally on OSX. r=erahm
This commit is contained in:
Родитель
1866d4ece3
Коммит
641d6dcaa6
|
@ -50,7 +50,7 @@ config = {
|
|||
"cppunittest": {
|
||||
"options": [
|
||||
"--symbols-path=%(symbols_path)s",
|
||||
"--xre-path=%(abs_app_dir)s"
|
||||
"--xre-path=%(abs_res_dir)s"
|
||||
],
|
||||
"run_filename": "runcppunittests.py",
|
||||
"testsdir": "cppunittest"
|
||||
|
|
|
@ -237,8 +237,6 @@ def run_test_harness(options, args):
|
|||
update_mozinfo()
|
||||
progs = extract_unittests_from_args(args, mozinfo.info, options.manifest_path)
|
||||
options.xre_path = os.path.abspath(options.xre_path)
|
||||
if mozinfo.isMac:
|
||||
options.xre_path = os.path.join(os.path.dirname(options.xre_path), 'Resources')
|
||||
tester = CPPUnitTests()
|
||||
result = tester.run_tests(progs, options.xre_path, options.symbols_path)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче