From 57a9066812b06262265594eac7c62c394f51e947 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 30 May 2019 11:22:15 +0300 Subject: Improve backtrace test Check that setting terminate handler doesn't change the way a process terminates on unhandled exception. --- tests/backtrace/testscript | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/backtrace/testscript') 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 +} -- cgit v1.1