Home | History | Annotate | Line # | Download | only in lint1
Makefile revision 1.34
      1  1.34    rillig # $NetBSD: Makefile,v 1.34 2021/02/28 22:12:16 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.32    rillig FILES+=		d_c99_init.c
     32  1.32    rillig FILES+=		d_c99_init.exp
     33  1.16    rillig FILES+=		d_c99_nested_struct.c
     34   1.1    jruoho FILES+=		d_c99_recursive_init.c
     35   1.1    jruoho FILES+=		d_c99_struct_init.c
     36  1.13  christos FILES+=		d_c99_union_cast.c
     37  1.20    rillig FILES+=		d_c99_union_cast.exp
     38   1.1    jruoho FILES+=		d_c99_union_init1.c
     39   1.1    jruoho FILES+=		d_c99_union_init2.c
     40   1.1    jruoho FILES+=		d_c99_union_init3.c
     41   1.9  christos FILES+=		d_c99_union_init4.c
     42  1.33    rillig FILES+=		d_c99_union_init5.c
     43   1.1    jruoho FILES+=		d_c9x_array_init.c
     44   1.1    jruoho FILES+=		d_c9x_recursive_init.c
     45   1.8  christos FILES+=		d_cast_fun_array_param.c
     46   1.1    jruoho FILES+=		d_cast_init.c
     47   1.1    jruoho FILES+=		d_cast_init2.c
     48   1.1    jruoho FILES+=		d_cast_lhs.c
     49  1.14  christos FILES+=		d_cast_typeof.c
     50   1.1    jruoho FILES+=		d_compound_literals1.c
     51   1.1    jruoho FILES+=		d_compound_literals2.c
     52   1.1    jruoho FILES+=		d_constant_conv1.c
     53  1.17    rillig FILES+=		d_constant_conv1.exp
     54   1.1    jruoho FILES+=		d_constant_conv2.c
     55  1.17    rillig FILES+=		d_constant_conv2.exp
     56  1.16    rillig FILES+=		d_cvt_constant.c
     57  1.19    rillig FILES+=		d_cvt_constant.exp
     58   1.1    jruoho FILES+=		d_cvt_in_ternary.c
     59  1.21    rillig FILES+=		d_decl_old_style_arguments.c
     60  1.21    rillig FILES+=		d_decl_old_style_arguments.exp
     61   1.1    jruoho FILES+=		d_ellipsis_in_switch.c
     62  1.22    rillig FILES+=		d_fold_test.c
     63  1.22    rillig FILES+=		d_fold_test.exp
     64   1.1    jruoho FILES+=		d_gcc_compound_statements1.c
     65   1.1    jruoho FILES+=		d_gcc_compound_statements2.c
     66   1.1    jruoho FILES+=		d_gcc_compound_statements3.c
     67   1.3  christos FILES+=		d_gcc_extension.c
     68  1.20    rillig FILES+=		d_gcc_extension.exp
     69   1.1    jruoho FILES+=		d_gcc_func.c
     70   1.1    jruoho FILES+=		d_gcc_variable_array_init.c
     71   1.1    jruoho FILES+=		d_incorrect_array_size.c
     72  1.17    rillig FILES+=		d_incorrect_array_size.exp
     73  1.24    rillig FILES+=		d_init_pop_member.c
     74  1.24    rillig FILES+=		d_init_pop_member.exp
     75  1.28    rillig FILES+=		d_lint_assert.c
     76  1.28    rillig FILES+=		d_lint_assert.exp
     77   1.1    jruoho FILES+=		d_long_double_int.c
     78  1.17    rillig FILES+=		d_long_double_int.exp
     79   1.1    jruoho FILES+=		d_nested_structs.c
     80   1.1    jruoho FILES+=		d_nolimit_init.c
     81   1.1    jruoho FILES+=		d_packed_structs.c
     82  1.34    rillig FILES+=		d_pr_22119.c
     83  1.34    rillig FILES+=		d_pr_22119.exp
     84  1.23    rillig FILES+=		d_return_type.c
     85  1.23    rillig FILES+=		d_return_type.exp
     86   1.1    jruoho FILES+=		d_shift_to_narrower_type.c
     87  1.18    rillig FILES+=		d_struct_init_nested.c
     88  1.19    rillig FILES+=		d_struct_init_nested.exp
     89   1.1    jruoho FILES+=		d_type_conv1.c
     90  1.17    rillig FILES+=		d_type_conv1.exp
     91   1.1    jruoho FILES+=		d_type_conv2.c
     92  1.17    rillig FILES+=		d_type_conv2.exp
     93   1.1    jruoho FILES+=		d_type_conv3.c
     94  1.17    rillig FILES+=		d_type_conv3.exp
     95  1.10  christos FILES+=		d_type_question_colon.c
     96  1.16    rillig FILES+=		d_typefun.c
     97   1.1    jruoho FILES+=		d_typename_as_var.c
     98   1.1    jruoho FILES+=		d_zero_sized_arrays.c
     99  1.31    rillig FILES+=		${:U0 ${:U:range=339}:C,^.$,0&,:C,^..$,0&,:@msg@msg_${msg}.c msg_${msg}.exp@}
    100   1.1    jruoho 
    101  1.21    rillig # Note: only works for adding tests.
    102  1.21    rillig # To remove a test, the $$mi file must be edited manually.
    103  1.21    rillig sync-mi: .PHONY
    104  1.21    rillig 	@set -eu;							\
    105  1.21    rillig 	cd "${MAKEFILE:tA:H}/../../../..";				\
    106  1.21    rillig 	mi="distrib/sets/lists/tests/mi";				\
    107  1.21    rillig 	cvs update "$$mi";						\
    108  1.21    rillig 	fmt="./usr/tests/usr.bin/xlint/lint1/%s\ttests-usr.bin-tests\tcompattestfile,atf\n"; \
    109  1.21    rillig 	cat "$$mi" > "$$mi.tmp";					\
    110  1.21    rillig 	printf "$$fmt" ${FILES:M*.c} ${FILES:M*.exp} >> "$$mi.tmp";	\
    111  1.21    rillig 	distrib/sets/fmt-list "$$mi.tmp";				\
    112  1.21    rillig 	mv "$$mi.tmp" "$$mi";						\
    113  1.21    rillig 	cvs diff "$$mi" || true
    114  1.21    rillig 
    115   1.1    jruoho .include <bsd.test.mk>
    116