Fixed test building under windows (again)

This commit is contained in:
Nocturn9x 2022-04-03 22:21:03 +02:00
parent 9a97d78f43
commit e9f9703b83
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ def build(path: str, flags: Optional[Dict[str, str]] = {}, options: Optional[Dic
logging.debug("Compiling test suite")
start = time()
test_runner_path = "./tests/jatr" if os.name != "nt" else ".\\tests\jatr"
tests_path = "./tests/jats" if os.name != "nt" else ".\tests\jats"
tests_path = "./tests/jats" if os.name != "nt" else ".\\tests\jats"
command = "nim {flags} compile {path}".format(flags=nim_flags, path=test_runner_path)
_, stderr, status = run_command(command, stdout=DEVNULL, stderr=PIPE)
if status != 0: