Skip to content

Commit f66377a

Browse files
authored
test: skip GlvExtremeMagnitudeScalars on wasm to avoid suite timeout (#24304)
The wasm `ecc_tests` suite (`ScalarMultiplicationTest/1`, Grumpkin) is tight on its wall-clock budget. `GlvExtremeMagnitudeScalars` ran ~50 magnitude probes, each followed by a naive-MSM comparison over 600 points, and tipped the suite over the `timeout` wrapper: ``` 14:54:54 [ RUN ] ScalarMultiplicationTest/1.GlvExtremeMagnitudeScalars 14:54:57 timeout: sending signal TERM to command 'bash' ``` This skips the test on wasm via `GTEST_SKIP()` under `#ifdef __wasm__`, matching the existing native-only pattern already used for the other large synthetic-MSM cases in this file (e.g. `BatchDriverSharedPathRagged`, the `MSMDedup*` cases). Native coverage is unchanged.
2 parents e0c3592 + a1af47c commit f66377a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

barretenberg/cpp/src/barretenberg/ecc/scalar_multiplication/scalar_multiplication.test.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1938,6 +1938,9 @@ TYPED_TEST(ScalarMultiplicationTest, ExternalGlvDoubledDirect)
19381938
}
19391939
TYPED_TEST(ScalarMultiplicationTest, GlvExtremeMagnitudeScalars)
19401940
{
1941+
#ifdef __wasm__
1942+
GTEST_SKIP() << "GLV extreme-magnitude sweep is native-only; the ~50-probe naive comparison times out on wasm.";
1943+
#endif
19411944
this->test_glv_extreme_magnitude_scalars();
19421945
}
19431946
TYPED_TEST(ScalarMultiplicationTest, EffectiveNumBitsBandSmallScalars)

0 commit comments

Comments
 (0)