Updated regression test python script to match NF.

This commit is contained in:
dhurd 2012-07-23 09:54:33 -04:00
parent cbf920e4bf
commit ffb08c7c81

View File

@ -124,7 +124,7 @@ def getImageSize(inFile, list):
size += os.path.getsize(inFile) size += os.path.getsize(inFile)
return size return size
def testCompareToGold(inFile, ignoreUnalloc): def testCompareToGold(inFile, ignoreUnalloc, list):
print "-----------------------------------------------" print "-----------------------------------------------"
print "Comparing results for " + inFile + " with gold." print "Comparing results for " + inFile + " with gold."
@ -416,7 +416,7 @@ def main():
elif (arg == "--rebuild") or (arg == "-r"): #check for rebuild flag elif (arg == "--rebuild") or (arg == "-r"): #check for rebuild flag
rebuild = True rebuild = True
print "Running in REBUILD mode" 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 ignoreUnalloc = True
print "Ignoring unallocated space" print "Ignoring unallocated space"
elif (arg == "--ignore") or (arg == "-i"): elif (arg == "--ignore") or (arg == "-i"):
@ -468,4 +468,4 @@ def main():
print("\t%s" % errString) print("\t%s" % errString)
if __name__ == "__main__": if __name__ == "__main__":
main() main()