Makefile revision 1.6
1# $NetBSD: Makefile,v 1.6 2019/01/29 19:59:10 mgorny 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 26 27.for test in ${ASAN_TESTS} 28TESTS_SH_SRC_${test}= asan_common.subr ${test}.sh 29.endfor 30.for test in ${UBSAN_TESTS} 31TESTS_SH_SRC_${test}= ubsan_common.subr ${test}.sh 32.endfor 33 34.include <bsd.test.mk> 35