/usr/lib/auto-07p/python/test.py is in auto-07p 0.9.1+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #! /usr/bin/env python
import AUTOExceptions
modules = ["parseB", "parseS", "parseBandS", "parseC", "parseH",
"AUTOclui", "interactiveBindings", "AUTOCommands",
"parseD", "bifDiag", "runDemo", "runAUTO"]
regressions = []
for module in modules:
print("-----------------------")
print("Testing Module: %s\n"%module)
mod = __import__(module)
try:
mod.test()
except AUTOExceptions.AUTORegressionError:
regressions.append(module)
if regressions:
print("Found regressions in: %s"%", ".join(regressions))
else:
print("All regression tests were successful.")
|