aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bt.sh
blob: 83fa3ff24bc57923e73831988f3b0f6a83c5fc41 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# Test backtrace functionality.

exitcode=0

"${builddir:-.}/src/test/test-bt-cl" backtraces || exit $?
"${builddir:-.}/src/test/test-bt-cl" assert 2>&1 | "${PYTHON:-python}" "${abs_top_srcdir:-.}/src/test/bt_test.py" || exitcode="$?"
"${builddir:-.}/src/test/test-bt-cl" crash  2>&1 | "${PYTHON:-python}" "${abs_top_srcdir:-.}/src/test/bt_test.py" || exitcode="$?"

exit ${exitcode}