summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/perf_bench/bm_pidigits.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/perf_bench/bm_pidigits.py b/tests/perf_bench/bm_pidigits.py
index bdaa73cec..c935f103c 100644
--- a/tests/perf_bench/bm_pidigits.py
+++ b/tests/perf_bench/bm_pidigits.py
@@ -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