diffblue-cbmc/regression/ansi-c
Michael Tautschnig bb79432791 test.pl: check for EXIT and SIGNAL patterns if -e is set
Using EXIT and SIGNAL patterns avoids spurious test successes despite, e.g.,
failing an invariant.
2019-02-21 15:04:42 +00:00
..
Array_Declarator1 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
Array_Declarator2 added tests from Martin 2014-12-31 13:34:26 +00:00
Array_Declarator3 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
Array_Declarator4 added tests from Martin 2014-12-31 13:34:26 +00:00
Array_Declarator5 added tests from Martin 2014-12-31 13:34:26 +00:00
Array_Declarator6 added tests from Martin 2014-12-31 13:34:26 +00:00
Array_Declarator7 typo 2015-01-25 11:16:52 +00:00
Array_Declarator8 Do not accept arrays of variable size with static lifetime 2017-07-17 20:23:44 +01:00
Atomic1 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
Defines1 more regressions from the CVS 2012-09-02 11:19:24 +00:00
Empty_Declaration1 fix for test 2012-10-08 08:38:48 +00:00
Forward_Declaration1 prohibit CONVERSION ERROR 2012-04-01 13:12:16 +00:00
Forward_Declaration2 Fix tests with missing EXIT or SIGNAL tests 2018-03-23 11:37:53 +00:00
Function_parameters1 more 2013-04-13 18:24:22 +00:00
Function_parameters2 Conditional operator over function pointers without 2014-05-27 15:13:27 +00:00
Function_pointer1 ignore size of arrays on ptr-to-array conversions 2018-06-19 22:22:59 +01:00
Header_files1 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
Incomplete_Type1 Source location output differs across platforms 2019-01-04 11:09:11 +00:00
Initializer_cast1 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
Initializer_cast2 Fix type casts from initializer lists to arrays of unspecified size 2017-09-07 12:01:58 +01:00
KnR1 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
KnR2 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
KnR3 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
Lvalue1 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
MMX1 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
MMX2 fix for machines without MMX 2012-09-20 14:03:34 +00:00
Multiple prohibit CONVERSION ERROR 2012-04-01 13:12:16 +00:00
Qualifiers1 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
Recursive_Structure1 prohibit CONVERSION ERROR 2012-04-01 13:12:16 +00:00
Recursive_Structure2 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
Struct_Bitfields1 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
Struct_Enum_Padding1 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
Struct_Hierarchy1 prohibit CONVERSION ERROR 2012-04-01 13:12:16 +00:00
Struct_Initialization1 Handle array initialization with a non-array gracefully 2017-07-19 10:19:03 +01:00
Struct_Initialization2 Handle array initialization with a non-array gracefully 2017-07-19 10:19:03 +01:00
Struct_Padding2 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
Struct_Padding3 Visual Studio packs bit-fields differently 2018-06-12 19:22:06 +01:00
Struct_Padding4 Visual Studio packs bit-fields differently 2018-06-12 19:22:06 +01:00
Struct_Padding5 Visual Studio packs bit-fields differently 2018-06-12 19:22:06 +01:00
Struct_Padding6 GCC only tests 2016-07-01 18:28:07 +01:00
Struct_ptrmember1 fix array->f typechecking 2018-04-24 12:48:31 +01:00
Transparent_union1 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
Transparent_union2 Discarding const qualifiers on pointers and transparent 2014-07-06 18:44:01 +00:00
Typecast_to_array_ptr1 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
Typecast_to_union1 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
Union_Initialization1 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
Union_Padding1 Visual Studio packs bit-fields differently 2018-06-12 19:22:06 +01:00
Union_Padding2 Do not attempt to compute union sizes when not required 2017-09-02 09:38:55 +01:00
Universal_characters1 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
VS_extensions1 added support for _int64 keyword 2018-07-30 08:20:42 +01:00
Zero_Initialization1 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
_Alignof1 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
_Bool1 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
_Generic1 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
_Noreturn1 GCC only tests 2016-07-01 18:28:07 +01:00
_Static_assert1 add main for Visual Studio 2013-02-03 19:29:09 +00:00
always_inline1 Revert "Fully interpret __attribute__((always_inline))" 2018-07-07 09:56:19 +00:00
always_inline2 Additional regression tests for always_inline 2018-07-07 10:02:57 +00:00
always_inline3 Additional regression tests for always_inline 2018-07-07 10:02:57 +00:00
always_inline4 Additional regression tests for always_inline 2018-07-07 10:02:57 +00:00
always_inline5 Additional regression tests for always_inline 2018-07-07 10:02:57 +00:00
always_inline6 Additional regression tests for always_inline 2018-07-07 10:02:57 +00:00
always_inline7 Additional regression tests for always_inline 2018-07-07 10:02:57 +00:00
always_inline8 Additional regression tests for always_inline 2018-07-07 10:02:57 +00:00
always_inline9 Additional regression tests for always_inline 2018-07-07 10:02:57 +00:00
anonymous_union1 Include tags in type-to-identifier conversion 2019-02-02 11:17:06 +00:00
arch_flags_mcpu_bad remove two fields from goto-binary function format 2019-02-04 20:10:58 +00:00
arch_flags_mcpu_good remove two fields from goto-binary function format 2019-02-04 20:10:58 +00:00
arch_flags_mthumb_bad remove two fields from goto-binary function format 2019-02-04 20:10:58 +00:00
arch_flags_mthumb_good remove two fields from goto-binary function format 2019-02-04 20:10:58 +00:00
arithmetic_right_shift1 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
array_initialization1 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
array_initialization2 added test from issue #196 2016-08-11 14:04:11 +01:00
array_initialization3 When possible, update array types before typechecking initializer 2017-09-07 12:01:58 +01:00
array_initialization4 Re-enable users of {expr,nondet}_initializer to do their own error reporting 2018-10-23 04:43:58 +00:00
asm1 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
asm2 prohibit CONVERSION ERROR 2012-04-01 13:12:16 +00:00
asm3 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
builtin_ia32_undef add clang's __builtin_ia32_undefX and __builtin_nontemporal_store and __builtin_nontemporal_load 2018-08-17 12:48:52 +01:00
builtin_is Move regression tests of the C front-end to a suitable folder, again 2019-01-10 18:32:24 +00:00
builtin_nontemporal_load_store add clang's __builtin_ia32_undefX and __builtin_nontemporal_store and __builtin_nontemporal_load 2018-08-17 12:48:52 +01:00
builtin_va_copy_lvalue Move regression tests of the C front-end to a suitable folder, again 2019-01-10 18:32:24 +00:00
builtin_va_copy_two Move regression tests of the C front-end to a suitable folder, again 2019-01-10 18:32:24 +00:00
builtin_va_end_lvalue Move regression tests of the C front-end to a suitable folder, again 2019-01-10 18:32:24 +00:00
builtin_va_end_one Move regression tests of the C front-end to a suitable folder, again 2019-01-10 18:32:24 +00:00
builtin_va_start_lvalue Move regression tests of the C front-end to a suitable folder, again 2019-01-10 18:32:24 +00:00
builtin_va_start_two Move regression tests of the C front-end to a suitable folder, again 2019-01-10 18:32:24 +00:00
character_literals1 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
const1 Test cleanup: do not place pattern on line 3 2019-01-03 11:43:24 +00:00
const2 C front-end: Do not wrongly propagate const-ness 2018-10-03 11:44:27 +00:00
cprover_bool1 The first static_assert fails with goto-cl 2018-12-29 21:12:54 +00:00
decl_initialization1 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
decl_initialization2 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
enum1 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
enum2 more 2014-06-16 10:28:26 +00:00
enum3 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
enum4 C front-end now uses c_enum_tag irep 2014-09-13 15:41:37 +00:00
enum5 Permit re-declaring anonymous enum types 2015-04-09 20:17:28 +00:00
enum6 enum subtype is only stored in symbol table, never in enum_tag type 2016-02-23 13:50:59 +00:00
enum7 test from Dan 2016-08-16 09:28:46 +01:00
enum8 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
envp1 more 2012-08-10 07:50:22 +00:00
extern1 prohibit CONVERSION ERROR 2012-04-01 13:12:16 +00:00
extern2 prohibit CONVERSION ERROR 2012-04-01 13:12:16 +00:00
extern_inline1 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
float_constant1 _FloatX support based on gcc version 2018-06-06 08:05:41 +01:00
float_constant2 GCC-only extensions for floating point literals 2014-05-25 16:17:05 +00:00
for_scope1 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
forceinline1 Support Visual Studio's __forceinline 2018-07-08 22:53:46 +01:00
function_return1 fix test result for goto-cl 2018-06-10 16:13:30 +01:00
gcc___auto_type1 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_attributes1 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_attributes2 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_attributes3 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_attributes4 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_attributes5 gcc/clang treat __attribute__((aligned())) differently 2018-06-21 12:54:37 +01:00
gcc_attributes6 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_attributes7 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_attributes8 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_attributes9 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_attributes10 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_attributes11 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_attributes12 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_attributes13 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_attributes14 C front-end: support storage class and attributes for aggregate objects 2019-02-08 18:59:45 +00:00
gcc_builtin_constant_p1 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_builtins1 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_builtins2 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_builtins3 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_builtins4 fix return values of __builtin_classify_type 2018-06-12 22:07:52 +01:00
gcc_builtins5 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_builtins6 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_float_types1 Only test for __float80 on architectures where it is available 2018-10-01 08:31:21 +01:00
gcc_types_compatible_p1 Only test for __float80 on architectures where it is available 2018-10-01 08:31:21 +01:00
gcc_types_compatible_p2 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_types_compatible_p3 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_types_compatible_p4 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_vector1 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
gcc_version1 mark gcc tests as 'gcc-only' to prevent execution by goto-cl on Windows 2018-06-12 22:08:36 +01:00
goto_convert_break Fix expected exit codes for Windows/Visual Studio 2018-12-28 18:20:27 +00:00
goto_convert_continue Fix expected exit codes for Windows/Visual Studio 2018-12-28 18:20:27 +00:00
goto_convert_invalid_goto_label Fix expected exit codes for Windows/Visual Studio 2018-12-28 18:20:27 +00:00
goto_convert_switch_range_bounds Fix expected exit codes for Windows/Visual Studio 2018-12-28 18:20:27 +00:00
goto_convert_switch_range_case_valid Provide tests for goto_convert 2018-09-27 16:50:07 +01:00
goto_convert_switch_range_empty Fix handling of case range statement in special case 2018-09-28 11:14:49 +01:00
goto_convert_switch_range_empty_nodefault Add extra test for switch case range with no default and empty case 2018-09-28 14:34:22 +01:00
goto_convert_switch_range_operands_count Fix expected exit codes for Windows/Visual Studio 2018-12-28 18:20:27 +00:00
integer_constant1 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
integer_constant2 regressions adopted to goto-cc 2012-09-10 19:06:37 +00:00
linker_script_start+end goto-gcc reads definitions from linker scripts 2017-09-04 11:39:32 +01:00
linker_script_start+size goto-gcc reads definitions from linker scripts 2017-09-04 11:39:32 +01:00
linker_script_symbol-only goto-gcc reads definitions from linker scripts 2017-09-04 11:39:32 +01:00
linking1 Accept more mismatching function definition/declaration pairs 2018-07-09 09:33:05 +01:00
linking_conflicts1 Linking: report multiple conflicts 2018-04-16 06:42:11 +01:00
message_handling1 Pass message handler on to compilet 2017-05-23 10:33:25 +01:00
pointer_arithmetic1 moved a VCC-less regression to ansi-c 2014-06-02 09:09:07 +00:00
pragma_pack1 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
pragma_pack2 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
pragma_pack3 Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
return_void prohibit CONVERSION ERROR 2012-04-01 13:12:16 +00:00
sizeof1 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
sizeof2 No _Static_assert in Visual Studio 2013-02-03 19:27:37 +00:00
sizeof3 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
sizeof4 tests from Dan 2017-08-10 10:30:07 +02:00
sizeof5 sizeof(*(void*)) is sizeof(char) 2017-09-07 12:01:58 +01:00
static1 Fixed the issue with a single static function in a translation unit selected as the entry point and changed the tests to CORE rather than KNOWNBUG 2017-04-18 11:24:39 +01:00
static2 Fix tests with missing EXIT or SIGNAL tests 2018-03-23 11:37:53 +00:00
static3 Fix tests with missing EXIT or SIGNAL tests 2018-03-23 11:37:53 +00:00
static_inline1 Fixed the issue with a single static function in a translation unit selected as the entry point and changed the tests to CORE rather than KNOWNBUG 2017-04-18 11:24:39 +01:00
struct2 regressions adopted to goto-cc 2012-09-10 19:06:37 +00:00
struct3 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
struct5 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
struct6 fix test result for goto-cl 2018-06-10 16:13:30 +01:00
struct7 fix test result for goto-cl 2018-06-10 16:13:30 +01:00
switch1 regression from Michael 2013-05-28 09:34:56 +00:00
typedef1 fix for test 2012-10-08 08:38:48 +00:00
typedef2 now works 2014-06-14 20:27:28 +00:00
typedef_code prohibit CONVERSION ERROR 2012-04-01 13:12:16 +00:00
typeof1 typeof is GCC only 2014-06-16 11:52:58 +00:00
undeclared_function added test for undeclared functions 2019-02-17 11:01:36 +00:00
windows_h_VS_2005 windows.h from various versions of Visual Studio 2012-08-18 16:51:19 +00:00
windows_h_VS_2008 windows.h from various versions of Visual Studio 2012-08-18 16:51:19 +00:00
windows_h_VS_2010 windows.h from various versions of Visual Studio 2012-08-18 16:51:19 +00:00
windows_h_VS_2012 fix comments 2014-10-31 17:43:52 +00:00
windows_h_VS_2013 fix comments 2014-10-31 17:43:52 +00:00
CMakeLists.txt Include goto-cl regression tests in test sequence 2019-01-10 18:32:22 +00:00
Makefile test.pl: check for EXIT and SIGNAL patterns if -e is set 2019-02-21 15:04:42 +00:00