Home | History | Annotate | Line # | Download | only in cc
Makefile revision 1.6
      1  1.5  mgorny # $NetBSD: Makefile,v 1.6 2019/01/29 19:59:10 mgorny 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.5  mgorny ASAN_TESTS=	#
      8  1.5  mgorny ASAN_TESTS+=	t_asan_double_free
      9  1.5  mgorny ASAN_TESTS+=	t_asan_global_buffer_overflow
     10  1.5  mgorny ASAN_TESTS+=	t_asan_heap_overflow
     11  1.5  mgorny ASAN_TESTS+=	t_asan_off_by_one
     12  1.5  mgorny ASAN_TESTS+=	t_asan_poison
     13  1.5  mgorny ASAN_TESTS+=	t_asan_uaf
     14  1.5  mgorny 
     15  1.6  mgorny UBSAN_TESTS=	#
     16  1.6  mgorny UBSAN_TESTS+=	t_ubsan_int_add_overflow
     17  1.6  mgorny UBSAN_TESTS+=	t_ubsan_int_neg_overflow
     18  1.6  mgorny UBSAN_TESTS+=	t_ubsan_vla_out_of_bounds
     19  1.6  mgorny UBSAN_TESTS+=	t_ubsan_int_sub_overflow
     20  1.6  mgorny UBSAN_TESTS+=	t_ubsan_int_divzero
     21  1.6  mgorny 
     22  1.2   kamil TESTS_SH=	#
     23  1.5  mgorny TESTS_SH+=	$(ASAN_TESTS)
     24  1.6  mgorny TESTS_SH+=	$(UBSAN_TESTS)
     25  1.2   kamil TESTS_SH+=	t_hello
     26  1.1  jruoho 
     27  1.5  mgorny .for test in ${ASAN_TESTS}
     28  1.5  mgorny TESTS_SH_SRC_${test}=	asan_common.subr ${test}.sh
     29  1.5  mgorny .endfor
     30  1.6  mgorny .for test in ${UBSAN_TESTS}
     31  1.6  mgorny TESTS_SH_SRC_${test}=	ubsan_common.subr ${test}.sh
     32  1.6  mgorny .endfor
     33  1.5  mgorny 
     34  1.1  jruoho .include <bsd.test.mk>
     35