make -C tests make[1]: Entering directory '/home/user/dev/tinycc/bld/tests' ------------ hello-exe ------------ ../tcc -B.. -I../../include -I../.. -I.. ../../tests/../examples/ex1.c -o hello && ./hello || (set -x; ../tcc -vv; ldd ../tcc; exit 1) Hello World ------------ hello-run ------------ ../tcc -B.. -I../../include -I../.. -I.. -run ../../tests/../examples/ex1.c || (set -x; ../tcc -vv; ldd ../tcc; exit 1) Hello World /home/user/dev/tinycc/bld/dist/bin/tcc -o libtcc_test ../../tests/libtcc_test.c ../libtcc.a -I.. -I../.. -lm -ldl ------------ libtest ------------ ./libtcc_test -B.. -I../../include -I../.. -I.. Hello World! fib(32) = 2178309 add(32, 64) = 96 /home/user/dev/tinycc/bld/dist/bin/tcc -o tcctest.gcc ../../tests/tcctest.c -DTCC_TARGET_X86_64 -DTCC_MUSL -I.. -I../.. -w -O0 -std=gnu99 -fno-omit-frame-pointer ./tcctest.gcc > test.ref ------------ test3 ------------ ../tcc -B.. -I../../include -I../.. -I.. -DTCC_TARGET_X86_64 -DTCC_MUSL -DONE_SOURCE -run ../../tcc.c -B.. -I../../include -I../.. -I.. -DTCC_TARGET_X86_64 -DTCC_MUSL -DONE_SOURCE -run ../../tcc.c -B.. -I../../include -I../.. -I.. -DTCC_TARGET_X86_64 -DTCC_MUSL -DONE_SOURCE -run ../../tcc.c -B.. -I../../include -I../.. -I.. -run ../../tests/tcctest.c > test.out3 Auto Test3 OK ------------ memtest ------------ /home/user/dev/tinycc/bld/dist/bin/tcc -I.. -I../.. -DTCC_TARGET_X86_64 -DTCC_MUSL -DONE_SOURCE -DMEM_DEBUG=2 ../../tcc.c -lm -ldl -o memtest-tcc ./memtest-tcc -B.. -I../../include -I../.. -I.. -DTCC_TARGET_X86_64 -DTCC_MUSL -DONE_SOURCE ../../tcc.c -lm -ldl ./memtest-tcc -B.. -I../../include -I../.. -I.. -DTCC_TARGET_X86_64 -DTCC_MUSL -DONE_SOURCE -run ../../tcc.c -B.. -I../../include -I../.. -I.. ../../tests/tcctest.c ------------ dlltest ------------ ../tcc -B.. -I../../include -I../.. -I.. -DONE_SOURCE -DTCC_TARGET_X86_64 -DTCC_MUSL -DLIBTCC_AS_DLL ../../libtcc.c -lm -ldl -shared -o libtcc2.so ../tcc -B.. -I../../include -I../.. -I.. -DTCC_TARGET_X86_64 -DTCC_MUSL ../../tcc.c libtcc2.so -lm -ldl -Wl,-rpath=. -o tcc2 ./tcc2 -B.. -I../../include -I../.. -I.. -DTCC_TARGET_X86_64 -DTCC_MUSL -DONE_SOURCE -run ../../tcc.c -B.. -I../../include -I../.. -I.. -run ../../examples/ex1.c Hello World ------------ dlltest with PIC ------------ /home/user/dev/tinycc/bld/dist/bin/tcc -I.. -I../.. -fPIC -DONE_SOURCE -DTCC_TARGET_X86_64 -DTCC_MUSL -DLIBTCC_AS_DLL -c ../../libtcc.c ../tcc -B.. -I../../include -I../.. -I.. libtcc.o -lm -ldl -shared -o libtcc2.so ../tcc -B.. -I../../include -I../.. -I.. -DTCC_TARGET_X86_64 -DTCC_MUSL ../../tcc.c libtcc2.so -lm -ldl -Wl,-rpath=. -o tcc2 ./tcc2 -B.. -I../../include -I../.. -I.. -DTCC_TARGET_X86_64 -DTCC_MUSL -DONE_SOURCE -run ../../tcc.c -B.. -I../../include -I../.. -I.. -run ../../examples/ex1.c Hello World /home/user/dev/tinycc/bld/dist/bin/tcc -o abitest-cc ../../tests/abitest.c ../libtcc.a -I.. -I../.. -lm -ldl -w ../tcc -B.. -I../../include -I../.. -I.. -o abitest-tcc ../../tests/abitest.c ../../libtcc.c -DTCC_TARGET_X86_64 -DTCC_MUSL -DONE_SOURCE -lm -ldl ------------ abitest ------------ ./abitest-cc -B.. -I../../include -I../.. -I.. ret_int_test... success ret_longlong_test... success ret_float_test... success ret_double_test... success ret_longdouble_test... success ret_2float_test... success ret_2double_test... success ret_mixed3_test... success reg_pack_test... success reg_pack_longlong_test... success sret_test... success one_member_union_test... success two_member_union_test... success many_struct_test... success many_struct_test_2... success many_struct_test_3... success stdarg_test... success stdarg_struct_test... success arg_align_test... success ./abitest-tcc -B.. -I../../include -I../.. -I.. ret_int_test... success ret_longlong_test... success ret_float_test... success ret_double_test... success ret_longdouble_test... success ret_2float_test... success ret_2double_test... success ret_mixed3_test... success reg_pack_test... success reg_pack_longlong_test... success sret_test... success one_member_union_test... success two_member_union_test... success many_struct_test... success many_struct_test_2... success many_struct_test_3... success stdarg_test... success stdarg_struct_test... success arg_align_test... success ../tcc -B.. -I../../include -I../.. -I.. -o vla_test ../../tests/vla_test.c ------------ vla_test-run ------------ ./vla_test test1... success test2... success test3... success ------------ tests2-dir ------------ make -k -C tests2 make[2]: Entering directory '/home/user/dev/tinycc/bld/tests/tests2' Test: 00_assignment... Test: 01_comment... Test: 02_printf... Test: 03_struct... Test: 04_for... Test: 05_array... Test: 06_case... Test: 07_function... Test: 08_while... Test: 09_do_while... Test: 10_pointer... Test: 11_precedence... Test: 12_hashdefine... Test: 13_integer_literals... Test: 14_if... Test: 15_recursion... Test: 16_nesting... Test: 17_enum... Test: 18_include... Test: 19_pointer_arithmetic... Test: 20_pointer_comparison... Test: 21_char_array... Test: 22_floating_point... Test: 23_type_coercion... Test: 24_math_library... Test: 25_quicksort... Test: 26_character_constants... Test: 27_sizeof... Test: 28_strings... Test: 29_array_address... Test: 30_hanoi... Test: 31_args... Test: 32_led... Test: 33_ternary_op... Test: 35_sizeof... Test: 36_array_initialisers... Test: 37_sprintf... Test: 38_multiple_array_index... Test: 39_typedef... Test: 40_stdio... Test: 41_hashif... Test: 42_function_pointer... Test: 43_void_param... Test: 44_scoped_declarations... Test: 45_empty_for... Test: 46_grep... Test: 47_switch_return... Test: 48_nested_break... Test: 49_bracket_evaluation... Test: 50_logical_second_arg... Test: 51_static... Test: 52_unnamed_enum... Test: 54_goto... Test: 55_lshift_type... Test: 56_btype_excess-1... Segmentation fault --- ../../../tests/tests2/56_btype_excess-1.expect 2017-05-11 02:24:52.519527209 +0300 +++ 56_btype_excess-1.output 2017-05-11 22:48:49.157133958 +0300 @@ -1 +0,0 @@ -56_btype_excess-1.c:1: error: too many basic types make[2]: *** [Makefile:49: 56_btype_excess-1.test] Error 1 Test: 57_btype_excess-2... Segmentation fault --- ../../../tests/tests2/57_btype_excess-2.expect 2017-05-11 02:24:52.519527209 +0300 +++ 57_btype_excess-2.output 2017-05-11 22:48:49.160467357 +0300 @@ -1 +0,0 @@ -57_btype_excess-2.c:1: error: too many basic types make[2]: *** [Makefile:49: 57_btype_excess-2.test] Error 1 Test: 58_function_redefinition... Segmentation fault --- ../../../tests/tests2/58_function_redefinition.expect 2017-05-11 02:24:52.519527209 +0300 +++ 58_function_redefinition.output 2017-05-11 22:48:49.163800756 +0300 @@ -1 +0,0 @@ -58_function_redefinition.c:7: error: redefinition of 'f' make[2]: *** [Makefile:49: 58_function_redefinition.test] Error 1 Test: 59_function_array... Segmentation fault --- ../../../tests/tests2/59_function_array.expect 2017-05-11 02:24:52.519527209 +0300 +++ 59_function_array.output 2017-05-11 22:48:49.167134155 +0300 @@ -1 +0,0 @@ -59_function_array.c:1: error: declaration of an array of functions make[2]: *** [Makefile:49: 59_function_array.test] Error 1 Test: 60_enum_redefinition... Segmentation fault --- ../../../tests/tests2/60_enum_redefinition.expect 2017-05-11 02:24:52.519527209 +0300 +++ 60_enum_redefinition.output 2017-05-11 22:48:49.170467554 +0300 @@ -1 +0,0 @@ -60_enum_redefinition.c:2: error: struct/union/enum already defined make[2]: *** [Makefile:49: 60_enum_redefinition.test] Error 1 Test: 61_undefined_enum... Segmentation fault --- ../../../tests/tests2/61_undefined_enum.expect 2017-05-11 02:24:52.519527209 +0300 +++ 61_undefined_enum.output 2017-05-11 22:48:49.170467554 +0300 @@ -1 +0,0 @@ -61_undefined_enum.c:1: error: unknown type size make[2]: *** [Makefile:49: 61_undefined_enum.test] Error 1 Test: 62_enumerator_redefinition... Segmentation fault --- ../../../tests/tests2/62_enumerator_redefinition.expect 2017-05-11 02:24:52.519527209 +0300 +++ 62_enumerator_redefinition.output 2017-05-11 22:48:49.173800953 +0300 @@ -1 +0,0 @@ -62_enumerator_redefinition.c:2: error: redefinition of enumerator 'RED' make[2]: *** [Makefile:49: 62_enumerator_redefinition.test] Error 1 Test: 63_local_enumerator_redefinition... Test: 64_macro_nesting... Test: 67_macro_concat... Test: 70_floating_point_literals... Test: 71_macro_empty_arg... Test: 72_long_long_constant... Test: 74_nocode_wanted... Segmentation fault --- ../../../tests/tests2/74_nocode_wanted.expect 2017-05-11 02:24:52.519527209 +0300 +++ 74_nocode_wanted.output 2017-05-11 22:48:49.203801542 +0300 @@ -1 +0,0 @@ -74_nocode_wanted.c:1: error: initializer element is not constant make[2]: *** [Makefile:49: 74_nocode_wanted.test] Error 1 Test: 75_array_in_struct_init... Test: 76_dollars_in_identifiers... Test: 77_push_pop_macro... Test: 78_vla_label... Test: 79_vla_continue... Test: 80_flexarray... Test: 81_types... Test: 82_attribs_position... Test: 83_utf8_in_identifiers... Test: 84_hex-float... Test: 85_asm-outside-function... Test: 86_memory-model... Test: 87_dead_code... Test: 88_codeopt... Test: 89_nocode_wanted... Test: 90_struct-init... Test: 91_ptr_longlong_arith32... Test: 92_enum_bitfield... Test: 93_integer_promotion... make[2]: Target 'all' not remade because of errors. make[2]: Leaving directory '/home/user/dev/tinycc/bld/tests/tests2' make[1]: *** [Makefile:81: tests2-dir] Error 2 make[1]: Leaving directory '/home/user/dev/tinycc/bld/tests' make: *** [Makefile:356: test] Error 2