summaryrefslogtreecommitdiff
path: root/src/test/test_bt.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_bt.sh.in')
-rw-r--r--src/test/test_bt.sh.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/test_bt.sh.in b/src/test/test_bt.sh.in
new file mode 100644
index 0000000000..d2498751cb
--- /dev/null
+++ b/src/test/test_bt.sh.in
@@ -0,0 +1,9 @@
+#!/bin/sh
+# Test backtrace functionality.
+
+exitcode=0
+
+@builddir@/src/test/test-bt-cl assert | @PYTHON@ @abs_top_srcdir@/src/test/bt_test.py || exitcode=1
+@builddir@/src/test/test-bt-cl crash | @PYTHON@ @abs_top_srcdir@/src/test/bt_test.py || exitcode=1
+
+exit ${exitcode}