Use testament to check Norm test pass (#19018)
* Use testament to check Norm test pass This is what I actually use to test Norm, so it's better to use it. This should not currently pass. This is expected because this is exactly the problem I want to highlight with this PR. My tests do indeed not pass at the moment. * Remove clearNimblePath from testament command. Co-authored-by: flywind <xzsflywind@gmail.com>
This commit is contained in:
parent
f7cfc46ae1
commit
b2edc3468c
2 changed files with 2 additions and 2 deletions
|
|
@ -115,7 +115,7 @@ pkg "nimterop", "nimble minitest"
|
||||||
pkg "nimwc", "nim c nimwc.nim"
|
pkg "nimwc", "nim c nimwc.nim"
|
||||||
pkg "nimx", "nim c --threads:on test/main.nim", allowFailure = true
|
pkg "nimx", "nim c --threads:on test/main.nim", allowFailure = true
|
||||||
pkg "nitter", "nim c src/nitter.nim", "https://github.com/zedeus/nitter"
|
pkg "nitter", "nim c src/nitter.nim", "https://github.com/zedeus/nitter"
|
||||||
pkg "norm", "nim c -r tests/sqlite/trows.nim"
|
pkg "norm", "testament r tests/sqlite/trows.nim"
|
||||||
pkg "npeg", "nimble testarc"
|
pkg "npeg", "nimble testarc"
|
||||||
pkg "numericalnim", "nim c -r tests/test_integrate.nim"
|
pkg "numericalnim", "nim c -r tests/test_integrate.nim"
|
||||||
pkg "optionsutils"
|
pkg "optionsutils"
|
||||||
|
|
|
||||||
|
|
@ -103,7 +103,7 @@ type
|
||||||
|
|
||||||
proc getCmd*(s: TSpec): string =
|
proc getCmd*(s: TSpec): string =
|
||||||
if s.cmd.len == 0:
|
if s.cmd.len == 0:
|
||||||
result = compilerPrefix & " $target --hints:on -d:testing --clearNimblePath --nimblePath:build/deps/pkgs $options $file"
|
result = compilerPrefix & " $target --hints:on -d:testing --nimblePath:build/deps/pkgs $options $file"
|
||||||
else:
|
else:
|
||||||
result = s.cmd
|
result = s.cmd
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue