Home | History | Annotate | Line # | Download | only in lint1
Makefile revision 1.31
      1  1.31    rillig # $NetBSD: Makefile,v 1.31 2021/02/19 12:28:56 rillig Exp $
      2   1.1    jruoho 
      3   1.1    jruoho NOMAN=		# defined
      4   1.1    jruoho 
      5   1.1    jruoho .include <bsd.own.mk>
      6   1.1    jruoho 
      7   1.1    jruoho TESTSDIR=	${TESTSBASE}/usr.bin/xlint/lint1
      8   1.1    jruoho 
      9   1.1    jruoho TESTS_SH=	t_integration
     10   1.1    jruoho 
     11   1.1    jruoho FILESDIR=	${TESTSDIR}
     12   1.1    jruoho FILES+=		d_alignof.c
     13  1.15  christos FILES+=		d_bltinoffsetof.c
     14  1.26    rillig FILES+=		d_c99_bool.c
     15  1.26    rillig FILES+=		d_c99_bool.exp
     16  1.27    rillig FILES+=		d_c99_bool_strict.c
     17  1.27    rillig FILES+=		d_c99_bool_strict.exp
     18  1.30    rillig FILES+=		d_c99_bool_strict_syshdr.c
     19  1.30    rillig FILES+=		d_c99_bool_strict_syshdr.exp
     20  1.11  christos FILES+=		d_c99_anon_struct.c
     21  1.12  christos FILES+=		d_c99_anon_union.c
     22   1.1    jruoho FILES+=		d_c99_complex_num.c
     23   1.3  christos FILES+=		d_c99_complex_split.c
     24   1.7  christos FILES+=		d_c99_compound_literal_comma.c
     25   1.1    jruoho FILES+=		d_c99_decls_after_stmt.c
     26   1.1    jruoho FILES+=		d_c99_decls_after_stmt2.c
     27   1.2     njoly FILES+=		d_c99_decls_after_stmt3.c
     28  1.17    rillig FILES+=		d_c99_flex_array_packed.c
     29   1.1    jruoho FILES+=		d_c99_for_loops.c
     30   1.1    jruoho FILES+=		d_c99_func.c
     31  1.16    rillig FILES+=		d_c99_nested_struct.c
     32   1.1    jruoho FILES+=		d_c99_recursive_init.c
     33   1.1    jruoho FILES+=		d_c99_struct_init.c
     34  1.13  christos FILES+=		d_c99_union_cast.c
     35  1.20    rillig FILES+=		d_c99_union_cast.exp
     36   1.1    jruoho FILES+=		d_c99_union_init1.c
     37   1.1    jruoho FILES+=		d_c99_union_init2.c
     38   1.1    jruoho FILES+=		d_c99_union_init3.c
     39   1.9  christos FILES+=		d_c99_union_init4.c
     40   1.1    jruoho FILES+=		d_c9x_array_init.c
     41   1.1    jruoho FILES+=		d_c9x_recursive_init.c
     42   1.8  christos FILES+=		d_cast_fun_array_param.c
     43   1.1    jruoho FILES+=		d_cast_init.c
     44   1.1    jruoho FILES+=		d_cast_init2.c
     45   1.1    jruoho FILES+=		d_cast_lhs.c
     46  1.14  christos FILES+=		d_cast_typeof.c
     47   1.1    jruoho FILES+=		d_compound_literals1.c
     48   1.1    jruoho FILES+=		d_compound_literals2.c
     49   1.1    jruoho FILES+=		d_constant_conv1.c
     50  1.17    rillig FILES+=		d_constant_conv1.exp
     51   1.1    jruoho FILES+=		d_constant_conv2.c
     52  1.17    rillig FILES+=		d_constant_conv2.exp
     53  1.16    rillig FILES+=		d_cvt_constant.c
     54  1.19    rillig FILES+=		d_cvt_constant.exp
     55   1.1    jruoho FILES+=		d_cvt_in_ternary.c
     56  1.21    rillig FILES+=		d_decl_old_style_arguments.c
     57  1.21    rillig FILES+=		d_decl_old_style_arguments.exp
     58   1.1    jruoho FILES+=		d_ellipsis_in_switch.c
     59  1.22    rillig FILES+=		d_fold_test.c
     60  1.22    rillig FILES+=		d_fold_test.exp
     61   1.1    jruoho FILES+=		d_gcc_compound_statements1.c
     62   1.1    jruoho FILES+=		d_gcc_compound_statements2.c
     63   1.1    jruoho FILES+=		d_gcc_compound_statements3.c
     64   1.3  christos FILES+=		d_gcc_extension.c
     65  1.20    rillig FILES+=		d_gcc_extension.exp
     66   1.1    jruoho FILES+=		d_gcc_func.c
     67   1.1    jruoho FILES+=		d_gcc_variable_array_init.c
     68   1.1    jruoho FILES+=		d_incorrect_array_size.c
     69  1.17    rillig FILES+=		d_incorrect_array_size.exp
     70  1.24    rillig FILES+=		d_init_pop_member.c
     71  1.24    rillig FILES+=		d_init_pop_member.exp
     72  1.28    rillig FILES+=		d_lint_assert.c
     73  1.28    rillig FILES+=		d_lint_assert.exp
     74   1.1    jruoho FILES+=		d_long_double_int.c
     75  1.17    rillig FILES+=		d_long_double_int.exp
     76   1.1    jruoho FILES+=		d_nested_structs.c
     77   1.1    jruoho FILES+=		d_nolimit_init.c
     78   1.1    jruoho FILES+=		d_packed_structs.c
     79  1.23    rillig FILES+=		d_return_type.c
     80  1.23    rillig FILES+=		d_return_type.exp
     81   1.1    jruoho FILES+=		d_shift_to_narrower_type.c
     82  1.18    rillig FILES+=		d_struct_init_nested.c
     83  1.19    rillig FILES+=		d_struct_init_nested.exp
     84   1.1    jruoho FILES+=		d_type_conv1.c
     85  1.17    rillig FILES+=		d_type_conv1.exp
     86   1.1    jruoho FILES+=		d_type_conv2.c
     87  1.17    rillig FILES+=		d_type_conv2.exp
     88   1.1    jruoho FILES+=		d_type_conv3.c
     89  1.17    rillig FILES+=		d_type_conv3.exp
     90  1.10  christos FILES+=		d_type_question_colon.c
     91  1.16    rillig FILES+=		d_typefun.c
     92   1.1    jruoho FILES+=		d_typename_as_var.c
     93   1.1    jruoho FILES+=		d_zero_sized_arrays.c
     94  1.31    rillig FILES+=		${:U0 ${:U:range=339}:C,^.$,0&,:C,^..$,0&,:@msg@msg_${msg}.c msg_${msg}.exp@}
     95   1.1    jruoho 
     96  1.21    rillig # Note: only works for adding tests.
     97  1.21    rillig # To remove a test, the $$mi file must be edited manually.
     98  1.21    rillig sync-mi: .PHONY
     99  1.21    rillig 	@set -eu;							\
    100  1.21    rillig 	cd "${MAKEFILE:tA:H}/../../../..";				\
    101  1.21    rillig 	mi="distrib/sets/lists/tests/mi";				\
    102  1.21    rillig 	cvs update "$$mi";						\
    103  1.21    rillig 	fmt="./usr/tests/usr.bin/xlint/lint1/%s\ttests-usr.bin-tests\tcompattestfile,atf\n"; \
    104  1.21    rillig 	cat "$$mi" > "$$mi.tmp";					\
    105  1.21    rillig 	printf "$$fmt" ${FILES:M*.c} ${FILES:M*.exp} >> "$$mi.tmp";	\
    106  1.21    rillig 	distrib/sets/fmt-list "$$mi.tmp";				\
    107  1.21    rillig 	mv "$$mi.tmp" "$$mi";						\
    108  1.21    rillig 	cvs diff "$$mi" || true
    109  1.21    rillig 
    110   1.1    jruoho .include <bsd.test.mk>
    111