nimble tests -> nimble test
This commit is contained in:
parent
b48a4cacf1
commit
c3e78c28c3
|
@ -17,4 +17,4 @@ before_script:
|
|||
- cd ..
|
||||
script:
|
||||
- nimble install -y
|
||||
- nimble tests
|
||||
- nimble test
|
||||
|
|
|
@ -39,6 +39,6 @@ build_script:
|
|||
- cd C:\projects\nim-eth-p2p
|
||||
- nimble install -y
|
||||
test_script:
|
||||
- nimble tests
|
||||
- nimble test
|
||||
|
||||
deploy: off
|
||||
|
|
|
@ -9,7 +9,9 @@ skipDirs = @["tests", "Nim"]
|
|||
|
||||
requires "nim > 0.18.0", "https://github.com/status-im/nim-rlp >= 1.0.1", "https://github.com/cheatfate/nimcrypto >= 0.1.0", "https://github.com/status-im/nim-secp256k1 >= 0.1.0"
|
||||
|
||||
task tests, "Runs the test suite":
|
||||
exec "nim c -r tests/testecc"
|
||||
exec "nim c -r tests/testecies"
|
||||
exec "nim c -r tests/testauth"
|
||||
proc runTest(name: string, lang = "c") = exec "nim " & lang & " -r tests/" & name
|
||||
|
||||
task test, "Runs the test suite":
|
||||
runTest "testecc"
|
||||
runTest "testecies"
|
||||
runTest "testauth"
|
||||
|
|
Loading…
Reference in New Issue