Game Features
This commit is contained in:
+2
-2
@@ -5,7 +5,7 @@ import sys
|
||||
|
||||
ROOT = pathlib.Path(__file__).resolve().parent
|
||||
status = 0
|
||||
for script, executable in (("test_core.py", sys.argv[1]), ("test_server.py", sys.argv[2])):
|
||||
result = subprocess.run([sys.executable, str(ROOT / script), executable], check=False)
|
||||
for script, arguments in (("test_core.py", [sys.argv[1]]), ("test_application.py", [sys.argv[1], sys.argv[3]]), ("test_server.py", [sys.argv[2]])):
|
||||
result = subprocess.run([sys.executable, str(ROOT / script), *arguments], check=False)
|
||||
status = status or result.returncode
|
||||
sys.exit(status)
|
||||
|
||||
Reference in New Issue
Block a user