about summary refs log tree commit diff homepage
path: root/unittests
diff options
context:
space:
mode:
authorLukáš Zaoral <lzaoral@redhat.com>2022-01-22 21:27:43 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2022-03-09 20:45:11 +0100
commitb2df9d44ffba8e5008dbb567075728896363db99 (patch)
tree6c690adbcfb1cd70c3eb9d3989bc41afef5ea90f /unittests
parent77980cd8b25d6bc97f4f019fb2491acb27e5fc76 (diff)
downloadklee-b2df9d44ffba8e5008dbb567075728896363db99.tar.gz
tests: make UBSAN print stack traces
Diffstat (limited to 'unittests')
-rw-r--r--unittests/lit-unit-tests-common.site.cfg.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/lit-unit-tests-common.site.cfg.in b/unittests/lit-unit-tests-common.site.cfg.in
index 38626995..054516b7 100644
--- a/unittests/lit-unit-tests-common.site.cfg.in
+++ b/unittests/lit-unit-tests-common.site.cfg.in
@@ -8,4 +8,4 @@ config.unit_test_exe_suffix = "@UNIT_TEST_EXE_SUFFIX@"
 # Let the main config do the real work.
 lit_config.load_config(config, "@CMAKE_SOURCE_DIR@/unittests/lit-unit-tests-common.cfg")
 config.environment['LSAN_OPTIONS'] = "suppressions=@KLEE_UTILS_DIR@/sanitizers/lsan.txt"
-config.environment['UBSAN_OPTIONS'] = "suppressions=@KLEE_UTILS_DIR@/sanitizers/ubsan.txt"
+config.environment['UBSAN_OPTIONS'] = "print_stacktrace=1,suppressions=@KLEE_UTILS_DIR@/sanitizers/ubsan.txt"