aboutsummaryrefslogtreecommitdiff
path: root/tests/backtrace/testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/backtrace/testscript')
-rw-r--r--tests/backtrace/testscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/backtrace/testscript b/tests/backtrace/testscript
index bdcd147..df1b7a1 100644
--- a/tests/backtrace/testscript
+++ b/tests/backtrace/testscript
@@ -18,3 +18,11 @@ if ($tclass == 'linux' || $tclass == 'macos' || $tsys == 'freebsd')
%.*
EOE
}
+else
+{
+ # On OSes where backtrace() is not supported we just check that setting the
+ # terminate handler doesn't change the way a process terminates on the
+ # unhandled exception (see driver.cxx for details).
+ #
+ $* -q
+}