Bug 690060 - Make runreftests.py append "crashtest.list" to the test path when only a crashtest directory is specified; r=ted

This commit is contained in:
Ehsan Akhgari 2011-09-29 10:58:13 -04:00
parent 024d135d42
commit db90e13744

View File

@ -68,6 +68,10 @@ class RefTest(object):
defaultManifestPath = os.path.join(path, 'reftest.list')
if os.path.exists(defaultManifestPath):
path = defaultManifestPath
else:
defaultManifestPath = os.path.join(path, 'crashtests.list')
if os.path.exists(defaultManifestPath):
path = defaultManifestPath
return path
def createReftestProfile(self, options, profileDir, server='localhost'):