aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2021-10-24 02:09:50 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2021-10-24 02:09:50 +0300
commit4aa6cddca445b71a97fc200cf4437233bde91a46 (patch)
tree8474c8500ca1cd9ad5e581216956ed567ac35caf
parent3269a008fe146571c4f5443acb0437e7e987353f (diff)
downloadsciteco-4aa6cddca445b71a97fc200cf4437233bde91a46.tar.gz
fixed testsuite on Mac OS: skip the recursion overflow test case
* Turns out we cannot assume that the test case never crashes on Mac OS, so we instead now skip the entire test case on Mac OS. It apparently crashes even on Mac OS when building with --enable-debug (-O0). * Should fix Continous Integration for Mac OS.
-rw-r--r--tests/testsuite.at5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
index d9bb67d..e087593 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -104,10 +104,11 @@ AT_XFAIL_IF(true)
AT_CLEANUP
AT_SETUP([Recursion overflow])
+# On Mac OS we cannot always reliably provoke a stack overflow.
+AT_SKIP_IF([case $host in *-*-darwin*) true;; *) false;; esac])
# Should no longer dump core.
# It could fail because the memory limit is exceeed,
# but not in this case since we limit the recursion.
AT_CHECK([$SCITECO -e "@^Um{U.a Q.a-100000\"<%.aMm'} 0Mm"], 0, ignore, ignore)
-# On Mac OS we cannot provoke a stack overflow.
-AT_XFAIL_IF([case $host in *-*-darwin*) false;; esac])
+AT_XFAIL_IF(true)
AT_CLEANUP