# $NetBSD: Makefile,v 1.7 2019/02/09 00:12:14 mrg Exp $ .include TESTSDIR= ${TESTSBASE}/usr.bin/cc ASAN_TESTS= # ASAN_TESTS+= t_asan_double_free ASAN_TESTS+= t_asan_global_buffer_overflow ASAN_TESTS+= t_asan_heap_overflow ASAN_TESTS+= t_asan_off_by_one ASAN_TESTS+= t_asan_poison ASAN_TESTS+= t_asan_uaf UBSAN_TESTS= # UBSAN_TESTS+= t_ubsan_int_add_overflow UBSAN_TESTS+= t_ubsan_int_neg_overflow UBSAN_TESTS+= t_ubsan_vla_out_of_bounds UBSAN_TESTS+= t_ubsan_int_sub_overflow UBSAN_TESTS+= t_ubsan_int_divzero TESTS_SH= # TESTS_SH+= $(ASAN_TESTS) TESTS_SH+= $(UBSAN_TESTS) TESTS_SH+= t_hello TESTS_SH+= t_libgomp .for test in ${ASAN_TESTS} TESTS_SH_SRC_${test}= asan_common.subr ${test}.sh .endfor .for test in ${UBSAN_TESTS} TESTS_SH_SRC_${test}= ubsan_common.subr ${test}.sh .endfor .include