Commit a92a6712 authored by Maria Matejka's avatar Maria Matejka

Netlab: Option to fail even for successful test

parent ec171ab7
......@@ -7,7 +7,8 @@ import argparse
import tests.base as t
parser = argparse.ArgumentParser()
parser.add_argument("-m", choices=["save", "check"])
parser.add_argument("-m", choices=["save", "check"], help="save the values or check the stored values")
parser.add_argument("-f", action="store_true", help="always fail")
parser.add_argument("testdir", nargs="*")
args = parser.parse_args()
......@@ -18,6 +19,6 @@ for testdir in args.testdir:
success =
if not success:
if not success or args.f:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment