diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-05-30 11:22:15 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-05-30 12:32:11 +0300 |
commit | 57a9066812b06262265594eac7c62c394f51e947 (patch) | |
tree | 83274ac68b10360efed6db06c59b1599306e54f6 /tests/backtrace/testscript | |
parent | aef40df1c432d51c5a75c9d94589a8e9577e0573 (diff) |
Improve backtrace test
Check that setting terminate handler doesn't change the way a process
terminates on unhandled exception.
Diffstat (limited to 'tests/backtrace/testscript')
-rw-r--r-- | tests/backtrace/testscript | 8 |
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 +} |