Commit 997354e5 authored by MOMMESSIN Clement's avatar MOMMESSIN Clement

[tests] Cleanup

parent 130be063
......@@ -57,6 +57,8 @@ class TestCommand(UserCommand):
self.args = []
if self.batsim_bin is not None:
self.args.append('BATSIMBIN=--batsim-bin=' + str(self.batsim_bin))
else:
raise Exception("Command line option '--batsim-bin' was not set.")
def run(self):
if len(self.args) > 0:
......
......@@ -299,8 +299,7 @@ def main(args):
sched = True
if not batsim_bin:
batsim_bin = "docker"
batsim_args = ["run", "batsim:dev"]
raise Exception("Command line option '--batsim-bin' was not set.")
if basic:
generate_basic(
......
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