diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2021-05-26 00:51:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-26 09:51:48 +0200 |
commit | 3b1aabdcffafbbf37ad02f013f754f67dfe2461c (patch) | |
tree | 9f676eb0fede03899179840249bfe58003a80e6e /testament/categories.nim | |
parent | 0b2bbcaa23f91b06bc06dd2cf35d4d26a6d24aa8 (diff) | |
download | Nim-3b1aabdcffafbbf37ad02f013f754f67dfe2461c.tar.gz |
change `--hint[X] => --hint:X` in nim repo (avoids shell quoting issues) (#18085)
Diffstat (limited to 'testament/categories.nim')
-rw-r--r-- | testament/categories.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testament/categories.nim b/testament/categories.nim index 8cf90666c..0a3595ff4 100644 --- a/testament/categories.nim +++ b/testament/categories.nim @@ -486,7 +486,7 @@ proc icTests(r: var TResults; testsDir: string, cat: Category, options: string; writeOnly = " --incremental:writeonly " readOnly = " --incremental:readonly " incrementalOn = " --incremental:on -d:nimIcIntegrityChecks " - navTestConfig = " --ic:on -d:nimIcNavigatorTests --hint[Conf]:off --warnings:off " + navTestConfig = " --ic:on -d:nimIcNavigatorTests --hint:Conf:off --warnings:off " template test(x: untyped) = testSpecWithNimcache(r, makeRawTest(file, x & options, cat), nimcache) @@ -500,7 +500,7 @@ proc icTests(r: var TResults; testsDir: string, cat: Category, options: string; template checkTest() = var test = makeRawTest(file, options, cat) - test.spec.cmd = compilerPrefix & " check --hint[Conf]:off --warnings:off --ic:on $options " & file + test.spec.cmd = compilerPrefix & " check --hint:Conf:off --warnings:off --ic:on $options " & file testSpecWithNimcache(r, test, nimcache) if not isNavigatorTest: |