make testament compile again with --taintMode:on
This commit is contained in:
parent
675c629fee
commit
e66b51eb16
1 changed files with 1 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ proc testSpec(r: var TResults, test: TTest, target = targetC) =
|
|||
inc(r.total)
|
||||
return
|
||||
|
||||
if getEnv("NIM_COMPILE_TO_CPP", "false") == "true" and target == targetC and expected.targets == {}:
|
||||
if getEnv("NIM_COMPILE_TO_CPP", "false").string == "true" and target == targetC and expected.targets == {}:
|
||||
expected.targets.incl(targetCpp)
|
||||
elif expected.targets == {}:
|
||||
expected.targets.incl(target)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue