ensure undefined behavior sanitizer crashes the programs
diff --git a/tests/tests-c-compiler/check-assembly.sh b/tests/tests-c-compiler/check-assembly.sh
index 3430a60..29734fa 100755
--- a/tests/tests-c-compiler/check-assembly.sh
+++ b/tests/tests-c-compiler/check-assembly.sh
@@ -116,7 +116,7 @@
check-fuzzer:
TARGETS
else
- CHECK_FUZZER="./check-fuzzer -timeout=3 -max_total_time=60 -max_len=512 -detect_leaks=1"
+ CHECK_FUZZER="UBSAN_OPTIONS=print_stacktrace=1 ./check-fuzzer -timeout=3 -max_total_time=60 -max_len=512 -detect_leaks=1"
cat <<TARGETS >> "${testdir}/Makefile.targets"
check-fuzzer: \$(OBJS)
rm -f ${source_obj}