mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
test_bt.sh: Check stderr for backtrace as well as stdout.
addresssanitizer likes to put backtraces on stderr.
This commit is contained in:
parent
fb9c9e04f0
commit
b72aa18d73
3
changes/bug18934
Normal file
3
changes/bug18934
Normal file
@ -0,0 +1,3 @@
|
||||
o Minor features (testing):
|
||||
- Let backtrace tests work correctly under AddressSanitizer.
|
||||
Fixes part of bug 18934.
|
@ -4,7 +4,7 @@
|
||||
exitcode=0
|
||||
|
||||
"${builddir:-.}/src/test/test-bt-cl" backtraces || exit $?
|
||||
"${builddir:-.}/src/test/test-bt-cl" assert | "${PYTHON:-python}" "${abs_top_srcdir:-.}/src/test/bt_test.py" || exitcode="$?"
|
||||
"${builddir:-.}/src/test/test-bt-cl" crash | "${PYTHON:-python}" "${abs_top_srcdir:-.}/src/test/bt_test.py" || exitcode="$?"
|
||||
"${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}
|
||||
|
Loading…
Reference in New Issue
Block a user