Bug 1217144: Allow for cppunittest to be run locally on OSX. r=erahm

This commit is contained in:
Stephen A Pohl 2015-10-27 13:50:56 -04:00
parent a80b5fb919
commit 5e4aaa9798
2 changed files with 1 additions and 3 deletions

View File

@ -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"

View File

@ -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)