test_bt.sh 529 B

123456789101112131415
  1. #!/bin/sh
  2. # Test backtrace functionality.
  3. exitcode=0
  4. ulimit -c 0
  5. export ASAN_OPTIONS="handle_segv=0:allow_user_segv_handler=1"
  6. "${builddir:-.}/src/test/test-bt-cl" backtraces || exit $?
  7. "${builddir:-.}/src/test/test-bt-cl" assert 2>&1 | "${PYTHON:-python}" "${abs_top_srcdir:-.}/src/test/bt_test.py" || exitcode="$?"
  8. "${builddir:-.}/src/test/test-bt-cl" crash 2>&1 | "${PYTHON:-python}" "${abs_top_srcdir:-.}/src/test/bt_test.py" || exitcode="$?"
  9. "${builddir:-.}/src/test/test-bt-cl" none || exitcode="$?"
  10. exit ${exitcode}