Makefile revision 1.7
1# $NetBSD: Makefile,v 1.7 2019/02/09 00:12:14 mrg Exp $ 2 3.include <bsd.own.mk> 4 5TESTSDIR= ${TESTSBASE}/usr.bin/cc 6 7ASAN_TESTS= # 8ASAN_TESTS+= t_asan_double_free 9ASAN_TESTS+= t_asan_global_buffer_overflow 10ASAN_TESTS+= t_asan_heap_overflow 11ASAN_TESTS+= t_asan_off_by_one 12ASAN_TESTS+= t_asan_poison 13ASAN_TESTS+= t_asan_uaf 14 15UBSAN_TESTS= # 16UBSAN_TESTS+= t_ubsan_int_add_overflow 17UBSAN_TESTS+= t_ubsan_int_neg_overflow 18UBSAN_TESTS+= t_ubsan_vla_out_of_bounds 19UBSAN_TESTS+= t_ubsan_int_sub_overflow 20UBSAN_TESTS+= t_ubsan_int_divzero 21 22TESTS_SH= # 23TESTS_SH+= $(ASAN_TESTS) 24TESTS_SH+= $(UBSAN_TESTS) 25TESTS_SH+= t_hello 26TESTS_SH+= t_libgomp 27 28.for test in ${ASAN_TESTS} 29TESTS_SH_SRC_${test}= asan_common.subr ${test}.sh 30.endfor 31.for test in ${UBSAN_TESTS} 32TESTS_SH_SRC_${test}= ubsan_common.subr ${test}.sh 33.endfor 34 35.include <bsd.test.mk> 36