mirror of https://github.com/japl-lang/japl.git
Fixed test building under windows (again)
This commit is contained in:
parent
9a97d78f43
commit
e9f9703b83
2
build.py
2
build.py
|
@ -185,7 +185,7 @@ def build(path: str, flags: Optional[Dict[str, str]] = {}, options: Optional[Dic
|
||||||
logging.debug("Compiling test suite")
|
logging.debug("Compiling test suite")
|
||||||
start = time()
|
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"
|
tests_path = "./tests/jats" if os.name != "nt" else ".\\tests\jats"
|
||||||
command = "nim {flags} compile {path}".format(flags=nim_flags, path=test_runner_path)
|
command = "nim {flags} compile {path}".format(flags=nim_flags, path=test_runner_path)
|
||||||
_, stderr, status = run_command(command, stdout=DEVNULL, stderr=PIPE)
|
_, stderr, status = run_command(command, stdout=DEVNULL, stderr=PIPE)
|
||||||
if status != 0:
|
if status != 0:
|
||||||
|
|
Loading…
Reference in New Issue