Home | History | Annotate | Line # | Download | only in c++
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 
      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 UBSAN_TESTS=	#
     16 UBSAN_TESTS+=	t_ubsan_int_add_overflow
     17 UBSAN_TESTS+=	t_ubsan_int_neg_overflow
     18 UBSAN_TESTS+=	t_ubsan_vla_out_of_bounds
     19 UBSAN_TESTS+=	t_ubsan_int_sub_overflow
     20 UBSAN_TESTS+=	t_ubsan_int_divzero
     21 
     22 TESTS_SH=	#
     23 TESTS_SH+=	$(ASAN_TESTS)
     24 TESTS_SH+=	$(UBSAN_TESTS)
     25 TESTS_SH+=	t_call_once
     26 TESTS_SH+=	t_call_once2
     27 TESTS_SH+=	t_cxxruntime
     28 TESTS_SH+=	t_hello
     29 TESTS_SH+=	t_pthread_once
     30 TESTS_SH+=	t_static_destructor
     31 
     32 .for test in ${ASAN_TESTS}
     33 TESTS_SH_SRC_${test}=	asan_common.subr ${test}.sh
     34 .endfor
     35 .for test in ${UBSAN_TESTS}
     36 TESTS_SH_SRC_${test}=	ubsan_common.subr ${test}.sh
     37 .endfor
     38 
     39 .include <bsd.test.mk>
     40