test both refc and ORC in post-1.6 Nim versions (#180)

This commit is contained in:
tersec 2023-04-14 01:32:27 +00:00 committed by GitHub
parent 763d54c1ba
commit 09c6bc676f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -30,7 +30,9 @@ proc run(args, path: string) =
task test, "Run all tests":
build "", "tests/test_helper"
for args in [
"--threads:off",
"--threads:on -d:nimTypeNames",
"--threads:on -d:noIntrinsicsBitOpts -d:noIntrinsicsEndians"
]: run args, "tests/all_tests"
"--threads:off",
"--threads:on -d:nimTypeNames",
"--threads:on -d:noIntrinsicsBitOpts -d:noIntrinsicsEndians"]:
run args, "tests/all_tests"
if (NimMajor, NimMinor) > (1, 6):
run args & " --mm:refc", "tests/all_tests"