Skip to content

Commit 376d4fa

Browse files
committed
rangeproof: reduce test iterations; add echo script to travis to prevent timeout
1 parent 26df649 commit 376d4fa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ before_install: mkdir -p `dirname $GUAVA_JAR`
6565
install: if [ ! -f $GUAVA_JAR ]; then wget $GUAVA_URL -O $GUAVA_JAR; fi
6666
before_script: ./autogen.sh
6767
script:
68+
- bash -c 'for ((i = 0; i < 3; i++)); do sleep 360 && echo '.'; done' &
6869
- if [ -n "$HOST" ]; then export USE_HOST="--host=$HOST"; fi
6970
- if [ "x$HOST" = "xi686-linux-gnu" ]; then export CC="$CC -m32"; fi
7071
- ./configure --enable-experimental=$EXPERIMENTAL --enable-endomorphism=$ENDOMORPHISM --with-field=$FIELD --with-bignum=$BIGNUM --with-scalar=$SCALAR --enable-ecmult-static-precomputation=$STATICPRECOMPUTATION --enable-module-ecdh=$ECDH --enable-module-recovery=$RECOVERY --enable-module-generator=$GENERATOR --enable-module-commitment=$COMMITMENT --enable-module-rangeproof=$RANGEPROOF --enable-module-bulletproof=$BULLETPROOF --enable-module-whitelist=$WHITELIST --enable-module-surjectionproof=$SURJECTIONPROOF --enable-jni=$JNI $EXTRAFLAGS $USE_HOST && make -j2 $BUILD

src/modules/rangeproof/tests_impl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ void run_rangeproof_tests(void) {
516516
test_api();
517517
test_rangeproof_fixed_vectors();
518518
test_pedersen_commitment_fixed_vector();
519-
for (i = 0; i < 10*count; i++) {
519+
for (i = 0; i < 2*count; i++) {
520520
test_borromean();
521521
}
522522
test_rangeproof();

0 commit comments

Comments
 (0)