`make test` uses "-d:release" now

also bump vendor/nim-eth, vendor/nim-faststreams
This commit is contained in:
Ștefan Talpalaru 2019-03-31 22:49:32 +02:00
parent 721f6e9c14
commit e27cc0c90b
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
5 changed files with 8 additions and 9 deletions

View File

@ -26,9 +26,9 @@ build_script:
- dir C:\mingw-w64
test_script:
- mingw32-make -j2 ARCH_OVERRIDE=%PLATFORM% V=0
- mingw32-make -j2 ARCH_OVERRIDE=%PLATFORM%
- build\nimbus.exe --help
- mingw32-make -j2 ARCH_OVERRIDE=%PLATFORM% V=0 NIMFLAGS="-d:release" test
- mingw32-make -j2 ARCH_OVERRIDE=%PLATFORM% test
- IF "%PLATFORM%" == "x64" mingw32-make -j2 test-reproducibility
deploy: off

View File

@ -33,9 +33,8 @@ install:
script:
- set -e # fail fast
- make -j${NPROC} V=0
- make -j${NPROC}
- ./build/nimbus --help
- make -j${NPROC} V=0 NIMFLAGS="-d:release" test
- make -j${NPROC} V=0 test-reproducibility
- make -C vendor/nim-beacon-chain -j${NPROC} V=0 test
- make -j${NPROC} test test-reproducibility
- make -C vendor/nim-beacon-chain -j${NPROC} test

View File

@ -29,7 +29,7 @@ proc buildBinary(name: string, srcDir = "./", params = "", lang = "c") =
exec "nim " & lang & " --out:./build/" & name & " " & extra_params & " " & srcDir & name & ".nim"
proc test(name: string, lang = "c") =
buildBinary name, "tests/", "-r -d:chronicles_log_level=ERROR"
buildBinary name, "tests/", "-r -d:release -d:chronicles_log_level=ERROR"
task test, "Run tests":
test "all_tests"

2
vendor/nim-eth vendored

@ -1 +1 @@
Subproject commit dcb82f6a969e8c7783143a5a7676ce0c3503fb78
Subproject commit 7954c0c7ed98be314ce023ebd7ecee0e926bf0c1

@ -1 +1 @@
Subproject commit 464034d780763b8b268a80b1cad79fdfe1a78109
Subproject commit 6e839bb5fa3373d23b8358652ee15ed05574d22f