Commit 83807a01 authored by Matthias Linhuber's avatar Matthias Linhuber
Browse files

Fix version check

parent b7f924d2
......@@ -287,6 +287,11 @@ def main():
args = parser.parse_args()
# Print version
if args.version:
print(__version__)
return
# Check if the given parameters make sense.
if args.quick and args.full:
print("Please only provide either --quick or --full. They are" +
......@@ -313,11 +318,6 @@ def main():
pprint(testParams)
return
# Print version
if args.version:
print(__version__)
return
# Generate TestRun Objects.
# Each object is populated with desired test parameters
testers = [TestRun(param[0], param[1], repetitions=args.repetitions)
......
Supports Markdown
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