#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 | PARAMS ((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.
Referenced by run_test().
| #define TEST_FOR_FIX_PROC_HEAD | ( | test | ) |
Value:
static apply_fix_p_t test PARAMS(( tCC* file, tCC* text )); \ static apply_fix_p_t test ( fname, text ) \ tCC* fname; \ tCC* text;
Definition at line 65 of file fixtests.c.
| #define TEST_TABLE_CT (ARRAY_SIZE (test_table)-1) |
Referenced by run_test().
| ENV_TABLE typedef apply_fix_p_t t_test_proc PARAMS | ( | (tCC *file, tCC *text) | ) |
| apply_fix_p_t run_test | ( | tCC* | tname, | |
| tCC* | fname, | |||
| tCC* | text | |||
| ) |
| TEST_FOR_FIX_PROC_HEAD | ( | stdc_0_in_system_headers_test | ) |
| TEST_FOR_FIX_PROC_HEAD | ( | machine_name_test | ) |
Definition at line 72 of file fixtests.c.
References APPLY_FIX, base, IGNORE_ARG, mn_get_regexps(), REG_NOTBOL, regexec, regmatch_t::rm_eo, SKIP_FIX, strchr, and tCC.
1.5.6