Home | History | Annotate | Line # | Download | only in cc
Makefile revision 1.4.2.1
      1  1.4.2.1  christos # $NetBSD: Makefile,v 1.4.2.1 2019/06/10 22:10:12 christos Exp $
      2      1.1    jruoho 
      3      1.1    jruoho .include <bsd.own.mk>
      4      1.1    jruoho 
      5      1.1    jruoho TESTSDIR=	${TESTSBASE}/usr.bin/cc
      6      1.1    jruoho 
      7  1.4.2.1  christos ASAN_TESTS=	#
      8  1.4.2.1  christos ASAN_TESTS+=	t_asan_double_free
      9  1.4.2.1  christos ASAN_TESTS+=	t_asan_global_buffer_overflow
     10  1.4.2.1  christos ASAN_TESTS+=	t_asan_heap_overflow
     11  1.4.2.1  christos ASAN_TESTS+=	t_asan_off_by_one
     12  1.4.2.1  christos ASAN_TESTS+=	t_asan_poison
     13  1.4.2.1  christos ASAN_TESTS+=	t_asan_uaf
     14  1.4.2.1  christos 
     15  1.4.2.1  christos UBSAN_TESTS=	#
     16  1.4.2.1  christos UBSAN_TESTS+=	t_ubsan_int_add_overflow
     17  1.4.2.1  christos UBSAN_TESTS+=	t_ubsan_int_neg_overflow
     18  1.4.2.1  christos UBSAN_TESTS+=	t_ubsan_vla_out_of_bounds
     19  1.4.2.1  christos UBSAN_TESTS+=	t_ubsan_int_sub_overflow
     20  1.4.2.1  christos UBSAN_TESTS+=	t_ubsan_int_divzero
     21  1.4.2.1  christos 
     22      1.2     kamil TESTS_SH=	#
     23  1.4.2.1  christos TESTS_SH+=	$(ASAN_TESTS)
     24  1.4.2.1  christos TESTS_SH+=	$(UBSAN_TESTS)
     25      1.2     kamil TESTS_SH+=	t_hello
     26  1.4.2.1  christos TESTS_SH+=	t_libgomp
     27  1.4.2.1  christos 
     28  1.4.2.1  christos .for test in ${ASAN_TESTS}
     29  1.4.2.1  christos TESTS_SH_SRC_${test}=	asan_common.subr ${test}.sh
     30  1.4.2.1  christos .endfor
     31  1.4.2.1  christos .for test in ${UBSAN_TESTS}
     32  1.4.2.1  christos TESTS_SH_SRC_${test}=	ubsan_common.subr ${test}.sh
     33  1.4.2.1  christos .endfor
     34      1.1    jruoho 
     35      1.1    jruoho .include <bsd.test.mk>
     36