#include "fixlib.h"

Go to the source code of this file.
Data Types | |
| type | test_entry_t |
Defines | |
| #define | _ENV_(v, m, n, t) extern tCC* v; |
| #define | FIX_TEST_TABLE |
| #define | TEST_FOR_FIX_PROC_HEAD(test) |
| #define | _FT_(n, p) { n, p }, |
| #define | TEST_TABLE_CT (ARRAY_SIZE (test_table)-1) |
Functions/Subroutines | |
| ENV_TABLE typedef apply_fix_p_t | t_test_proc (tCC *file, tCC *text) |
| TEST_FOR_FIX_PROC_HEAD (machine_name_test) | |
| TEST_FOR_FIX_PROC_HEAD (stdc_0_in_system_headers_test) | |
| apply_fix_p_t | run_test (tCC *tname, tCC *fname, tCC *text) |
| #define _ENV_ | ( | v, | |||
| m, | |||||
| n, | |||||
| t | ) | extern tCC* v; |
Definition at line 50 of file fixtests.c.
| #define FIX_TEST_TABLE |
Value:
_FT_( "machine_name", machine_name_test ) \ _FT_( "stdc_0_in_system_headers", stdc_0_in_system_headers_test )
Definition at line 61 of file fixtests.c.
| #define TEST_FOR_FIX_PROC_HEAD | ( | test | ) |
Value:
static apply_fix_p_t test ( tCC* fname ATTRIBUTE_UNUSED, \ tCC* text ATTRIBUTE_UNUSED )
Definition at line 65 of file fixtests.c.
| #define TEST_TABLE_CT (ARRAY_SIZE (test_table)-1) |
| apply_fix_p_t run_test | ( | tCC * | tname, | |
| tCC * | fname, | |||
| tCC * | text | |||
| ) |
Definition at line 136 of file fixtests.c.
References exit(), FIX_TEST_TABLE, fprintf(), NULL, strcmp(), test_entry_t::test_name, test_entry_t::test_proc, and TEST_TABLE_CT.
| ENV_TABLE typedef apply_fix_p_t t_test_proc | ( | tCC * | file, | |
| tCC * | text | |||
| ) |
| TEST_FOR_FIX_PROC_HEAD | ( | stdc_0_in_system_headers_test | ) |
| TEST_FOR_FIX_PROC_HEAD | ( | machine_name_test | ) |
Definition at line 69 of file fixtests.c.
References APPLY_FIX, base, IGNORE_ARG, mn_get_regexps(), REG_NOTBOL, regmatch_t::rm_eo, SKIP_FIX, strchr, and tCC.
1.5.6