From ffb08c7c81e680fc905b8746ef8b7862244e7dea Mon Sep 17 00:00:00 2001 From: dhurd Date: Mon, 23 Jul 2012 09:54:33 -0400 Subject: [PATCH] Updated regression test python script to match NF. --- Testing/script/regression.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Testing/script/regression.py b/Testing/script/regression.py index 236f927e91..d13f8dbc0e 100644 --- a/Testing/script/regression.py +++ b/Testing/script/regression.py @@ -124,7 +124,7 @@ def getImageSize(inFile, list): size += os.path.getsize(inFile) return size -def testCompareToGold(inFile, ignoreUnalloc): +def testCompareToGold(inFile, ignoreUnalloc, list): print "-----------------------------------------------" print "Comparing results for " + inFile + " with gold." @@ -416,7 +416,7 @@ def main(): elif (arg == "--rebuild") or (arg == "-r"): #check for rebuild flag rebuild = True print "Running in REBUILD mode" - elif (arg == "--ponies") or (arg == "-p"): #check for ignore unallocated space flag + elif (arg == "-u"): #check for ignore unallocated space flag ignoreUnalloc = True print "Ignoring unallocated space" elif (arg == "--ignore") or (arg == "-i"): @@ -468,4 +468,4 @@ def main(): print("\t%s" % errString) if __name__ == "__main__": - main() + main() \ No newline at end of file