Reduce number of test vectors for debug builds.
Force full recompilation of sources.
This commit is contained in:
parent
2a250634d0
commit
833574837f
|
@ -11,17 +11,17 @@ requires "nim > 0.18.0"
|
|||
requires "https://github.com/cheatfate/nimcrypto"
|
||||
|
||||
task test, "Run all tests":
|
||||
exec "nim c -r tests/tarith"
|
||||
exec "nim c -r -d:release tests/tarith"
|
||||
exec "nim c -f -r tests/tarith"
|
||||
exec "nim c -f -r -d:release tests/tarith"
|
||||
|
||||
exec "nim c -r tests/tfields"
|
||||
exec "nim c -r -d:release tests/tfields"
|
||||
exec "nim c -f -r tests/tfields"
|
||||
exec "nim c -f -r -d:release tests/tfields"
|
||||
|
||||
exec "nim c -r tests/tgroups"
|
||||
exec "nim c -r -d:release tests/tgroups"
|
||||
exec "nim c -f -r tests/tgroups"
|
||||
exec "nim c -f -r -d:release tests/tgroups"
|
||||
|
||||
exec "nim c -r tests/tpairing"
|
||||
exec "nim c -r -d:release tests/tpairing"
|
||||
exec "nim c -f -r tests/tpairing"
|
||||
exec "nim c -f -r -d:release tests/tpairing"
|
||||
|
||||
exec "nim c -r tests/tvectors"
|
||||
exec "nim c -r -d:release tests/tvectors"
|
||||
exec "nim c -f -r tests/tvectors"
|
||||
exec "nim c -f -r -d:release tests/tvectors"
|
||||
|
|
|
@ -3,7 +3,7 @@ import nimcrypto/utils
|
|||
import ../bncurve/[fields, groups]
|
||||
|
||||
when not defined(release):
|
||||
const TestsCount = 1000
|
||||
const TestsCount = 100
|
||||
else:
|
||||
const TestsCount = 10000
|
||||
|
||||
|
|
Loading…
Reference in New Issue