Update launch.py
Browse files
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:
|