Bug 990289. Make running a single mochitest run it in a way where the subtest results can be accessed. r=ted

This commit is contained in:
Boris Zbarsky 2014-05-08 22:20:54 -04:00
parent 568be8e10f
commit b90fcf3db6

View File

@ -341,6 +341,8 @@ class MochitestRunner(MozbuildObject):
manifest.tests.extend(tests)
options.manifestFile = manifest
if len(test_paths) == 1 and len(tests) == 1:
options.testPath = test_paths[0]
if rerun_failures:
options.testManifest = failure_file_path