From 9a97d78f432c49f2517bfee0fc9d16276c42c0b9 Mon Sep 17 00:00:00 2001 From: Nocturn9x Date: Sun, 3 Apr 2022 22:17:13 +0200 Subject: [PATCH] Fixed test building under windows --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index a07dc65..9b00771 100755 --- a/build.py +++ b/build.py @@ -184,7 +184,7 @@ def build(path: str, flags: Optional[Dict[str, str]] = {}, options: Optional[Dic logging.info("Running tests under tests/") logging.debug("Compiling test suite") start = time() - test_runner_path = "./tests/jatr" if os.name != "nt" else ".\tests\jatr" + test_runner_path = "./tests/jatr" if os.name != "nt" else ".\\tests\jatr" 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)