Since the script now supports running for multiple files given on
command line, do not skip printing a status line for each.
Signed-off-by: Phil Sutter <phil@nwl.cc>
result.append(name + ": " + red("Fail"))
result.append("nft flush ruleset call failed: " + error)
- if (passed == tests) and not args.test:
+ if (passed == tests):
print(name + ": " + green("OK"))
if not test_passed:
print("\n".join(result), file=sys.stderr)