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:
Cas Cremers
2008-08-21 21:20:16 +02:00
parent 3e3c2d7b07
commit 630f6e9459
3 changed files with 181 additions and 7 deletions

View File

@@ -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):