aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bt.sh
diff options
context:
space:
mode:
authorMarcin Cieślak <saper@saper.info>2015-09-24 22:32:51 +0000
committerNick Mathewson <nickm@torproject.org>2015-09-29 10:04:14 +0200
commit5c95762ec6c8e43fe7bc5582fd43585076214ba4 (patch)
tree96da2a7d2d83b8644387beef656cecbd2cc9ac1d /src/test/test_bt.sh
parent4ce9b8f1ec352f1167ac23d2750795986fb2ba11 (diff)
downloadtor-5c95762ec6c8e43fe7bc5582fd43585076214ba4.tar.gz
tor-5c95762ec6c8e43fe7bc5582fd43585076214ba4.zip
Skip tests if backtrace support not compiled-in
FreeBSD needs -lexecinfo to fully support backtrace reporting.
Diffstat (limited to 'src/test/test_bt.sh')
-rwxr-xr-xsrc/test/test_bt.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_bt.sh b/src/test/test_bt.sh
index 56e6cc40f8..f55f451f92 100755
--- a/src/test/test_bt.sh
+++ b/src/test/test_bt.sh
@@ -3,6 +3,7 @@
exitcode=0
+"${builddir:-.}/src/test/test-bt-cl" backtraces || exit 77
"${builddir:-.}/src/test/test-bt-cl" assert | "${PYTHON:-python}" "${abs_top_srcdir:-.}/src/test/bt_test.py" || exitcode=1
"${builddir:-.}/src/test/test-bt-cl" crash | "${PYTHON:-python}" "${abs_top_srcdir:-.}/src/test/bt_test.py" || exitcode=1