mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 08:56:15 +00:00
Updated regression test python script to match NF.
This commit is contained in:
parent
cbf920e4bf
commit
ffb08c7c81
@ -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()
|
Loading…
x
Reference in New Issue
Block a user