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