Home | History | Annotate | Line # | Download | only in cc
Makefile revision 1.7
      1  1.7     mrg # $NetBSD: Makefile,v 1.7 2019/02/09 00:12:14 mrg 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.7     mrg TESTS_SH+=	t_libgomp
     27  1.1  jruoho 
     28  1.5  mgorny .for test in ${ASAN_TESTS}
     29  1.5  mgorny TESTS_SH_SRC_${test}=	asan_common.subr ${test}.sh
     30  1.5  mgorny .endfor
     31  1.6  mgorny .for test in ${UBSAN_TESTS}
     32  1.6  mgorny TESTS_SH_SRC_${test}=	ubsan_common.subr ${test}.sh
     33  1.6  mgorny .endfor
     34  1.5  mgorny 
     35  1.1  jruoho .include <bsd.test.mk>
     36