Added large delta-test script.
The script runs over all protocol files it can find, and runs it using two different command-line parameters to scyther. If the results differ, the script reports it. The code can use some cleanup, removing e.g. global variables, but it works.
This commit is contained in:
@@ -262,13 +262,6 @@ class Scyther(object):
|
||||
if spdl:
|
||||
os.remove(fni)
|
||||
|
||||
# Now if there is no output and no errors, weird things might
|
||||
# happen, and we report the command used.
|
||||
if errors == "" and output == "":
|
||||
errors = "Scyther backend did not yield any output, "
|
||||
errors += "returning no errors and no output.\n"
|
||||
errors += "Command: [%s]" % self.cmd
|
||||
|
||||
return (output,errors)
|
||||
|
||||
def sanitize(self):
|
||||
|
||||
Reference in New Issue
Block a user