aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/atlocal.in2
-rw-r--r--tests/testsuite.at5
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 49cb11d..090a604 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -1,3 +1,5 @@
+host=@host@
+
# `tests` is after `src`, so the target SciTECO is already
# built.
# Using the $BOOTSTRAP_SCITECO wouldn't make sense
diff --git a/tests/testsuite.at b/tests/testsuite.at
index beed747..59bd483 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -81,7 +81,7 @@ AT_SETUP([Pattern matching overflow])
# It could fail because the memory limit is exceeed,
# but not in this case since the match string isn't too large.
AT_CHECK([$SCITECO -e '100000<@I"X">J @S"^EM^X"'], 0, ignore, ignore)
-AT_XFAIL_IF([/bin/true])
+AT_XFAIL_IF(true)
AT_CLEANUP
AT_SETUP([Recursion overflow])
@@ -89,5 +89,6 @@ AT_SETUP([Recursion overflow])
# 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)
-AT_XFAIL_IF([/bin/true])
+# On Mac OS we cannot provoke a stack overflow.
+AT_XFAIL_IF([case $host in *-*-darwin*) false;; esac])
AT_CLEANUP