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