NameDateSize

..06-Jun-201640

dg-bogus-exp-P.cH A D13-May-2013216

dg-bogus-exp-XF.cH A D13-May-2013283

dg-do-assemble-exp-P.cH A D13-May-2013436

dg-do-compile-exp-P.cH A D13-May-2013606

dg-do-link-exp-P.cH A D13-May-2013422

dg-do-run-exp-P.cH A D13-May-2013125

dg-do-run-sf-exp-F.cH A D13-May-2013136

dg-do-run-sf-exp-P.cH A D13-May-2013164

dg-do-run-sft-exp-F.cH A D13-May-2013203

dg-do-run-sft-exp-P.cH A D13-May-2013185

dg-do-run-sft-nocache-exp-P.cH A D13-May-2013224

dg-do-run-xrif-exp-F.cH A D13-May-2013170

dg-do-run-xrif-exp-P.cH A D13-May-2013167

dg-do-run-xrif-exp-XF.cH A D13-May-2013176

dg-do-run-xrif-exp-XP.cH A D13-May-2013172

dg-do-run-xrif-nocache-exp-XF.cH A D13-May-2013149

dg-dot-run-exp-P.cH A D13-May-2013303

dg-dot-run-exp-U.cH A D13-May-2013308

dg-dot-run-sif-exp-P.cH A D13-May-2013137

dg-dot-run-sif-exp-U.cH A D13-May-2013139

dg-dot-run-xif-exp-P.cH A D13-May-2013145

dg-dot-run-xif-exp-XP.cH A D13-May-2013148

dg-dot-run-xrif-exp-F.cH A D13-May-2013200

dg-dot-run-xrif-exp-P.cH A D13-May-2013200

dg-dot-run-xrif-exp-XF.cH A D13-May-2013210

dg-dot-run-xrif-exp-XP.cH A D13-May-2013215

dg-dox-run-exp-XF.cH A D13-May-2013177

dg-dox-run-sf-exp-XF.cH A D13-May-2013161

dg-dox-run-sf-exp-XP.cH A D13-May-2013189

dg-error-exp-F.cH A D13-May-2013374

dg-error-exp-P.cH A D13-May-2013230

dg-error-exp-XP.cH A D13-May-2013321

dg-error-nocache-exp-P.cH A D13-May-2013112

dg-excess-errors-exp-XF.cH A D13-May-2013271

dg-excess-errors-exp-XP.cH A D13-May-2013212

dg-nocache-scanasm-exp-XF.cH A D13-May-2013336

dg-nocache-sif-exp-P.cH A D13-May-2013161

dg-nocache-sif-exp-U.cH A D13-May-2013148

dg-nocache-xif-exp-P.cH A D13-May-2013162

dg-nocache-xif-exp-XP.cH A D13-May-2013149

dg-outexists-exp-F.cH A D13-May-2013260

dg-outexists-exp-P.cH A D13-May-201393

dg-outexists-exp-XP.cH A D13-May-2013110

dg-outexistsnot-exp-F.cH A D13-May-2013123

dg-outexistsnot-exp-P.cH A D13-May-2013264

dg-outexistsnot-exp-XF.cH A D13-May-2013110

dg-output-exp-P.cH A D13-May-2013285

dg-output-exp-XF.cH A D13-May-2013325

dg-warning-exp-F.cH A D13-May-2013233

dg-warning-exp-P.cH A D13-May-2013380

dg-warning-nocache-exp-P.cH A D13-May-2013113

gen_directive_testsH A D05-Mar-201624.7 KiB

READMEH A D05-Mar-20161.7 KiB

test-framework.awkH A D05-Mar-20163.1 KiB

test-framework.expH A D05-Mar-20162.4 KiB

README

1Check the test directives used in GCC's testsuite by generating and
2running tests that use combinations of those commands or that stress
3the selector expressions that can be used in those directives.  Also
4run a few tests of specific functionality from the source directory.
5                                                                                
6Each generated test has two parts: a file ending in "-1.c" whose
7expected result is encoded in the filename after "-exp-", and a file
8ending in "-2.c" which is always expected to pass.
9                                                                                
10This test directory is normally skipped and is not meant to be run at
11the same time as other parts of the testsuite; it's only of interest to
12people who are modifying the test directives or their support in GCC's
13.exp files.
14
15To run these tests:
16                                                                                
17    CHECK_TEST_FRAMEWORK=1 make -k check RUNTESTFLAGS="test-framework.exp"
18                                                                                
19To check the results:
20                                                                                
21    TF=${SRC}/gcc/testsuite/gcc.test-framework
22    awk -f ${TF}/test-framework.awk gcc/testsuite/gcc/gcc.sum
23                                                                                
24The awk script prints unexpected results followed by the number of tests
25that passed and failed.
26
27
28Copyright (C) 2005-2015 Free Software Foundation, Inc.
29
30Copying and distribution of this file, with or without modification,
31are permitted in any medium without royalty provided the copyright
32notice and this notice are preserved.
33