Makefile revision 1.11
1# $NetBSD: Makefile,v 1.11 2019/01/29 20:07:03 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 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_call_once 26TESTS_SH+= t_call_once2 27TESTS_SH+= t_cxxruntime 28TESTS_SH+= t_hello 29TESTS_SH+= t_pthread_once 30TESTS_SH+= t_static_destructor 31 32.for test in ${ASAN_TESTS} 33TESTS_SH_SRC_${test}= asan_common.subr ${test}.sh 34.endfor 35.for test in ${UBSAN_TESTS} 36TESTS_SH_SRC_${test}= ubsan_common.subr ${test}.sh 37.endfor 38 39.include <bsd.test.mk> 40