summary refs log tree commit diff stats
path: root/testament/categories.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-05-26 00:46:53 -0700
committerGitHub <noreply@github.com>2021-05-26 09:46:53 +0200
commit0b2bbcaa23f91b06bc06dd2cf35d4d26a6d24aa8 (patch)
treeb33d5cdc7feba1a76c4c51fb41297b9d94be89f5 /testament/categories.nim
parent8df55d0ad735277683631bb8e5966ee75545de2b (diff)
downloadNim-0b2bbcaa23f91b06bc06dd2cf35d4d26a6d24aa8.tar.gz
fix #18077 testament now parses `cmd` properly (#18086)
Diffstat (limited to 'testament/categories.nim')
-rw-r--r--testament/categories.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/testament/categories.nim b/testament/categories.nim
index 510e90c53..8cf90666c 100644
--- a/testament/categories.nim
+++ b/testament/categories.nim
@@ -87,8 +87,9 @@ proc runBasicDLLTest(c, r: var TResults, cat: Category, options: string) =
     var hcri = makeTest("tests/dll/nimhcr_integration.nim",
                                    options & " --forceBuild --hotCodeReloading:on" & rpath, cat)
     let nimcache = nimcacheDir(hcri.name, hcri.options, getTestSpecTarget())
-    hcri.args = prepareTestArgs(hcri.spec.getCmd, hcri.name,
+    let cmd = prepareTestCmd(hcri.spec.getCmd, hcri.name,
                                 hcri.options, nimcache, getTestSpecTarget())
+    hcri.testArgs = cmd.parseCmdLine
     testSpec r, hcri
 
 proc dllTests(r: var TResults, cat: Category, options: string) =