BBrother commited on
Commit
2fd0db4
1 Parent(s): d99f97c

Update launch.py

Browse files
Files changed (1) hide show
  1. launch.py +4 -0
launch.py CHANGED
@@ -307,6 +307,10 @@ def prepare_environment():
307
  print("Exiting because of --exit argument")
308
  exit(0)
309
 
 
 
 
 
310
 
311
  def tests(test_dir):
312
  if "--api" not in sys.argv:
 
307
  print("Exiting because of --exit argument")
308
  exit(0)
309
 
310
+ if args.tests and not args.no_tests:
311
+ exitcode = tests(args.tests)
312
+ exit(exitcode)
313
+
314
 
315
  def tests(test_dir):
316
  if "--api" not in sys.argv: