tinycc/tests2
Akim Demaille 3f09b90d21 build: fix VPATH builds
* configure (fn_dirname): New.
Use it to ensure the creation of proper symlinks to Makefiles.
(config.mak): Define top_builddir and top_srcdir.
(CPPFLAGS): Be sure to find the headers.
* Makefile, lib/Makefile, tests/Makefile, tests2/Makefile: Adjust
to set VPATH properly.
Fix confusion between top_builddir and top_srcdir.
2012-12-18 10:06:20 +01:00
..
00_assignment.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
00_assignment.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
01_comment.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
01_comment.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
02_printf.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
02_printf.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
03_struct.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
03_struct.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
04_for.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
04_for.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
05_array.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
05_array.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
06_case.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
06_case.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
07_function.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
07_function.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
08_while.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
08_while.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
09_do_while.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
09_do_while.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
10_pointer.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
10_pointer.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
11_precedence.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
11_precedence.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
12_hashdefine.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
12_hashdefine.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
13_integer_literals.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
13_integer_literals.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
14_if.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
14_if.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
15_recursion.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
15_recursion.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
16_nesting.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
16_nesting.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
17_enum.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
17_enum.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
18_include.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
18_include.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
18_include.h tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
19_pointer_arithmetic.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
19_pointer_arithmetic.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
20_pointer_comparison.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
20_pointer_comparison.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
21_char_array.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
21_char_array.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
22_floating_point.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
22_floating_point.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
23_type_coercion.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
23_type_coercion.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
24_math_library.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
24_math_library.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
25_quicksort.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
25_quicksort.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
26_character_constants.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
26_character_constants.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
27_sizeof.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
27_sizeof.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
28_strings.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
28_strings.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
29_array_address.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
29_array_address.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
30_hanoi.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
30_hanoi.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
31_args.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
31_args.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
32_led.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
32_led.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
33_ternary_op.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
33_ternary_op.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
34_array_assignment.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
34_array_assignment.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
35_sizeof.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
35_sizeof.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
36_array_initialisers.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
36_array_initialisers.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
37_sprintf.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
37_sprintf.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
38_multiple_array_index.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
38_multiple_array_index.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
39_typedef.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
39_typedef.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
40_stdio.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
40_stdio.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
41_hashif.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
41_hashif.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
42_function_pointer.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
42_function_pointer.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
43_void_param.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
43_void_param.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
44_scoped_declarations.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
44_scoped_declarations.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
45_empty_for.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
45_empty_for.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
46_grep.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
47_switch_return.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
47_switch_return.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
48_nested_break.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
48_nested_break.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
49_bracket_evaluation.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
49_bracket_evaluation.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
50_logical_second_arg.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
50_logical_second_arg.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
51_static.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
51_static.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
52_unnamed_enum.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
52_unnamed_enum.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
54_goto.c tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
54_goto.expect tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
55_lshift_type.c Tests on left-shift type. 2012-07-06 13:26:43 +02:00
55_lshift_type.expect Tests on left-shift type. 2012-07-06 13:26:43 +02:00
LICENSE tests: Added numerous tests. 2012-06-18 15:11:39 -04:00
Makefile build: fix VPATH builds 2012-12-18 10:06:20 +01:00