Rename CTIMETEST -> CTIMETESTS
This commit is contained in:
parent
74b026f05d
commit
0f088ec112
24
.cirrus.yml
24
.cirrus.yml
@ -23,7 +23,7 @@ env:
|
|||||||
SECP256K1_TEST_ITERS:
|
SECP256K1_TEST_ITERS:
|
||||||
BENCH: yes
|
BENCH: yes
|
||||||
SECP256K1_BENCH_ITERS: 2
|
SECP256K1_BENCH_ITERS: 2
|
||||||
CTIMETEST: yes
|
CTIMETESTS: yes
|
||||||
# Compile and run the tests
|
# Compile and run the tests
|
||||||
EXAMPLES: yes
|
EXAMPLES: yes
|
||||||
|
|
||||||
@ -81,9 +81,9 @@ task:
|
|||||||
- env: {WIDEMUL: int128, ECDH: yes, SCHNORRSIG: yes}
|
- env: {WIDEMUL: int128, ECDH: yes, SCHNORRSIG: yes}
|
||||||
- env: {WIDEMUL: int128, ASM: x86_64}
|
- env: {WIDEMUL: int128, ASM: x86_64}
|
||||||
- env: { RECOVERY: yes, SCHNORRSIG: yes}
|
- env: { RECOVERY: yes, SCHNORRSIG: yes}
|
||||||
- env: {BUILD: distcheck, WITH_VALGRIND: no, CTIMETEST: no, BENCH: no}
|
- env: {BUILD: distcheck, WITH_VALGRIND: no, CTIMETESTS: no, BENCH: no}
|
||||||
- env: {CPPFLAGS: -DDETERMINISTIC}
|
- env: {CPPFLAGS: -DDETERMINISTIC}
|
||||||
- env: {CFLAGS: -O0, CTIMETEST: no}
|
- env: {CFLAGS: -O0, CTIMETESTS: no}
|
||||||
- env: { ECMULTGENPRECISION: 2, ECMULTWINDOW: 2 }
|
- env: { ECMULTGENPRECISION: 2, ECMULTWINDOW: 2 }
|
||||||
- env: { ECMULTGENPRECISION: 8, ECMULTWINDOW: 4 }
|
- env: { ECMULTGENPRECISION: 8, ECMULTWINDOW: 4 }
|
||||||
matrix:
|
matrix:
|
||||||
@ -128,7 +128,7 @@ task:
|
|||||||
env:
|
env:
|
||||||
ASM: no
|
ASM: no
|
||||||
WITH_VALGRIND: no
|
WITH_VALGRIND: no
|
||||||
CTIMETEST: no
|
CTIMETESTS: no
|
||||||
matrix:
|
matrix:
|
||||||
- env:
|
- env:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
@ -153,7 +153,7 @@ task:
|
|||||||
ECDH: yes
|
ECDH: yes
|
||||||
RECOVERY: yes
|
RECOVERY: yes
|
||||||
SCHNORRSIG: yes
|
SCHNORRSIG: yes
|
||||||
CTIMETEST: no
|
CTIMETESTS: no
|
||||||
<< : *MERGE_BASE
|
<< : *MERGE_BASE
|
||||||
test_script:
|
test_script:
|
||||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=27008
|
# https://sourceware.org/bugzilla/show_bug.cgi?id=27008
|
||||||
@ -172,7 +172,7 @@ task:
|
|||||||
ECDH: yes
|
ECDH: yes
|
||||||
RECOVERY: yes
|
RECOVERY: yes
|
||||||
SCHNORRSIG: yes
|
SCHNORRSIG: yes
|
||||||
CTIMETEST: no
|
CTIMETESTS: no
|
||||||
matrix:
|
matrix:
|
||||||
- env: {}
|
- env: {}
|
||||||
- env: {EXPERIMENTAL: yes, ASM: arm}
|
- env: {EXPERIMENTAL: yes, ASM: arm}
|
||||||
@ -192,7 +192,7 @@ task:
|
|||||||
ECDH: yes
|
ECDH: yes
|
||||||
RECOVERY: yes
|
RECOVERY: yes
|
||||||
SCHNORRSIG: yes
|
SCHNORRSIG: yes
|
||||||
CTIMETEST: no
|
CTIMETESTS: no
|
||||||
<< : *MERGE_BASE
|
<< : *MERGE_BASE
|
||||||
test_script:
|
test_script:
|
||||||
- ./ci/cirrus.sh
|
- ./ci/cirrus.sh
|
||||||
@ -209,7 +209,7 @@ task:
|
|||||||
ECDH: yes
|
ECDH: yes
|
||||||
RECOVERY: yes
|
RECOVERY: yes
|
||||||
SCHNORRSIG: yes
|
SCHNORRSIG: yes
|
||||||
CTIMETEST: no
|
CTIMETESTS: no
|
||||||
<< : *MERGE_BASE
|
<< : *MERGE_BASE
|
||||||
test_script:
|
test_script:
|
||||||
- ./ci/cirrus.sh
|
- ./ci/cirrus.sh
|
||||||
@ -223,7 +223,7 @@ task:
|
|||||||
ECDH: yes
|
ECDH: yes
|
||||||
RECOVERY: yes
|
RECOVERY: yes
|
||||||
SCHNORRSIG: yes
|
SCHNORRSIG: yes
|
||||||
CTIMETEST: no
|
CTIMETESTS: no
|
||||||
matrix:
|
matrix:
|
||||||
- name: "x86_64 (mingw32-w64): Windows (Debian stable, Wine)"
|
- name: "x86_64 (mingw32-w64): Windows (Debian stable, Wine)"
|
||||||
env:
|
env:
|
||||||
@ -246,7 +246,7 @@ task:
|
|||||||
RECOVERY: yes
|
RECOVERY: yes
|
||||||
EXPERIMENTAL: yes
|
EXPERIMENTAL: yes
|
||||||
SCHNORRSIG: yes
|
SCHNORRSIG: yes
|
||||||
CTIMETEST: no
|
CTIMETESTS: no
|
||||||
# Use a MinGW-w64 host to tell ./configure we're building for Windows.
|
# Use a MinGW-w64 host to tell ./configure we're building for Windows.
|
||||||
# This will detect some MinGW-w64 tools but then make will need only
|
# This will detect some MinGW-w64 tools but then make will need only
|
||||||
# the MSVC tools CC, AR and NM as specified below.
|
# the MSVC tools CC, AR and NM as specified below.
|
||||||
@ -285,7 +285,7 @@ task:
|
|||||||
ECDH: yes
|
ECDH: yes
|
||||||
RECOVERY: yes
|
RECOVERY: yes
|
||||||
SCHNORRSIG: yes
|
SCHNORRSIG: yes
|
||||||
CTIMETEST: no
|
CTIMETESTS: no
|
||||||
matrix:
|
matrix:
|
||||||
- name: "Valgrind (memcheck)"
|
- name: "Valgrind (memcheck)"
|
||||||
container:
|
container:
|
||||||
@ -330,7 +330,7 @@ task:
|
|||||||
ECDH: yes
|
ECDH: yes
|
||||||
RECOVERY: yes
|
RECOVERY: yes
|
||||||
SCHNORRSIG: yes
|
SCHNORRSIG: yes
|
||||||
CTIMETEST: yes
|
CTIMETESTS: yes
|
||||||
CC: clang
|
CC: clang
|
||||||
SECP256K1_TEST_ITERS: 32
|
SECP256K1_TEST_ITERS: 32
|
||||||
ASM: no
|
ASM: no
|
||||||
|
@ -13,7 +13,7 @@ print_environment() {
|
|||||||
for var in WERROR_CFLAGS MAKEFLAGS BUILD \
|
for var in WERROR_CFLAGS MAKEFLAGS BUILD \
|
||||||
ECMULTWINDOW ECMULTGENPRECISION ASM WIDEMUL WITH_VALGRIND EXTRAFLAGS \
|
ECMULTWINDOW ECMULTGENPRECISION ASM WIDEMUL WITH_VALGRIND EXTRAFLAGS \
|
||||||
EXPERIMENTAL ECDH RECOVERY SCHNORRSIG \
|
EXPERIMENTAL ECDH RECOVERY SCHNORRSIG \
|
||||||
SECP256K1_TEST_ITERS BENCH SECP256K1_BENCH_ITERS CTIMETEST\
|
SECP256K1_TEST_ITERS BENCH SECP256K1_BENCH_ITERS CTIMETESTS\
|
||||||
EXAMPLES \
|
EXAMPLES \
|
||||||
HOST WRAPPER_CMD \
|
HOST WRAPPER_CMD \
|
||||||
CC CFLAGS CPPFLAGS AR NM
|
CC CFLAGS CPPFLAGS AR NM
|
||||||
@ -62,7 +62,7 @@ fi
|
|||||||
--enable-module-ecdh="$ECDH" --enable-module-recovery="$RECOVERY" \
|
--enable-module-ecdh="$ECDH" --enable-module-recovery="$RECOVERY" \
|
||||||
--enable-module-schnorrsig="$SCHNORRSIG" \
|
--enable-module-schnorrsig="$SCHNORRSIG" \
|
||||||
--enable-examples="$EXAMPLES" \
|
--enable-examples="$EXAMPLES" \
|
||||||
--enable-ctime-tests="$CTIMETEST" \
|
--enable-ctime-tests="$CTIMETESTS" \
|
||||||
--with-valgrind="$WITH_VALGRIND" \
|
--with-valgrind="$WITH_VALGRIND" \
|
||||||
--host="$HOST" $EXTRAFLAGS
|
--host="$HOST" $EXTRAFLAGS
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ then
|
|||||||
} >> bench.log 2>&1
|
} >> bench.log 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$CTIMETEST" = "yes" ]
|
if [ "$CTIMETESTS" = "yes" ]
|
||||||
then
|
then
|
||||||
if [ "$WITH_VALGRIND" = "yes" ]; then
|
if [ "$WITH_VALGRIND" = "yes" ]; then
|
||||||
./libtool --mode=execute valgrind --error-exitcode=42 ./ctime_tests > ctime_tests.log 2>&1
|
./libtool --mode=execute valgrind --error-exitcode=42 ./ctime_tests > ctime_tests.log 2>&1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user