Skip to content

Commit 0651a35

Browse files
committed
test, ci: Lower default of iters to 4
The number of test iterations in the CI remains the same.
1 parent 3fdf146 commit 0651a35

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.cirrus.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ env:
2424
SCHNORRSIG: no
2525
ELLSWIFT: no
2626
### test options
27-
SECP256K1_TEST_ITERS:
27+
SECP256K1_TEST_ITERS: 64
2828
BENCH: yes
2929
SECP256K1_BENCH_ITERS: 2
3030
CTIMETESTS: yes

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ env:
3535
SCHNORRSIG: 'no'
3636
ELLSWIFT: 'no'
3737
### test options
38-
SECP256K1_TEST_ITERS:
38+
SECP256K1_TEST_ITERS: 64
3939
BENCH: 'yes'
4040
SECP256K1_BENCH_ITERS: 2
4141
CTIMETESTS: 'yes'

src/tests.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
#define CONDITIONAL_TEST(cnt, nam) if (COUNT < (cnt)) { printf("Skipping %s (iteration count too low)\n", nam); } else
3939

40-
static int COUNT = 64;
40+
static int COUNT = 4;
4141
static secp256k1_context *CTX = NULL;
4242
static secp256k1_context *STATIC_CTX = NULL;
4343

0 commit comments

Comments
 (0)