fix e2etest

This commit is contained in:
Will McGugan
2022-07-29 11:01:58 +01:00
parent 547b8531a1
commit 67091ef2df
4 changed files with 195 additions and 132 deletions

View File

@@ -14,7 +14,8 @@ if len(sys.argv) > 1:
if len(sys.argv) > 2:
script_time_to_live = float(sys.argv[2])
e2e_root = Path(__file__).parent
e2e_root = Path(__file__).parent / "test_apps"
print(e2e_root)
completed_process = None
@@ -22,7 +23,7 @@ completed_process = None
def launch_sandbox_script(python_file_name: str) -> None:
global completed_process
command = f"{sys.executable} ./test_apps/{shlex.quote(python_file_name)}.py"
command = f"{sys.executable} {shlex.quote(python_file_name)}.py"
print(f"Launching command '{command}'...")
try:
completed_process = subprocess.run(