tests: Skip bm_pidigits perf test if no arbitrary precision int support.

The other performance tests run and pass with only 64-bit big integer
support.

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
This commit is contained in:
Angus Gratton
2025-03-25 09:53:44 +11:00
committed by Damien George
parent 0cf1e7c059
commit d07f103d68

View File

@@ -5,6 +5,12 @@
# This benchmark stresses big integer arithmetic.
# Adapted from code on: http://benchmarksgame.alioth.debian.org/
try:
int("0x10000000000000000", 16)
except:
print("SKIP") # No support for >64-bit integers
raise SystemExit
def compose(a, b):
aq, ar, as_, at = a