• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..16-May-2018-

READMEH A D04-Jan-20161.7 KiB3322

dg-bogus-exp-P.cH A D01-Feb-2005216 94

dg-bogus-exp-XF.cH A D29-Sep-2009283 92

dg-do-assemble-exp-P.cH A D01-Feb-2005436 121

dg-do-compile-exp-P.cH A D01-Feb-2005606 151

dg-do-link-exp-P.cH A D01-Feb-2005422 121

dg-do-run-exp-P.cH A D01-Feb-2005125 61

dg-do-run-sf-exp-F.cH A D13-Jul-2006136 95

dg-do-run-sf-exp-P.cH A D13-Jul-2006164 116

dg-do-run-sft-exp-F.cH A D13-Jul-2006203 116

dg-do-run-sft-exp-P.cH A D13-Jul-2006185 116

dg-do-run-sft-nocache-exp-P.cH A D07-Jan-2009224 126

dg-do-run-xrif-exp-F.cH A D21-May-2008170 116

dg-do-run-xrif-exp-P.cH A D21-May-2008167 116

dg-do-run-xrif-exp-XF.cH A D21-May-2008176 116

dg-do-run-xrif-exp-XP.cH A D21-May-2008172 116

dg-do-run-xrif-nocache-exp-XF.cH A D07-Jan-2009149 105

dg-dot-run-exp-P.cH A D01-Feb-2005303 102

dg-dot-run-exp-U.cH A D01-Feb-2005308 102

dg-dot-run-sif-exp-P.cH A D05-Dec-2005137 95

dg-dot-run-sif-exp-U.cH A D05-Dec-2005139 95

dg-dot-run-xif-exp-P.cH A D05-Dec-2005145 95

dg-dot-run-xif-exp-XP.cH A D05-Dec-2005148 95

dg-dot-run-xrif-exp-F.cH A D21-May-2008200 116

dg-dot-run-xrif-exp-P.cH A D21-May-2008200 116

dg-dot-run-xrif-exp-XF.cH A D21-May-2008210 116

dg-dot-run-xrif-exp-XP.cH A D21-May-2008215 116

dg-dox-run-exp-XF.cH A D01-Feb-2005177 72

dg-dox-run-sf-exp-XF.cH A D13-Jul-2006161 95

dg-dox-run-sf-exp-XP.cH A D13-Jul-2006189 116

dg-error-exp-F.cH A D12-Jul-2007374 126

dg-error-exp-P.cH A D28-Feb-2005230 105

dg-error-exp-XP.cH A D28-Feb-2005321 125

dg-error-nocache-exp-P.cH A D07-Jan-2009112 85

dg-excess-errors-exp-XF.cH A D01-Feb-2005271 101

dg-excess-errors-exp-XP.cH A D01-Feb-2005212 101

dg-nocache-scanasm-exp-XF.cH A D07-Jan-2009336 155

dg-nocache-sif-exp-P.cH A D07-Jan-2009161 105

dg-nocache-sif-exp-U.cH A D07-Jan-2009148 105

dg-nocache-xif-exp-P.cH A D07-Jan-2009162 105

dg-nocache-xif-exp-XP.cH A D07-Jan-2009149 105

dg-outexists-exp-F.cH A D22-May-2007260 81

dg-outexists-exp-P.cH A D07-Nov-200693 61

dg-outexists-exp-XP.cH A D07-Nov-2006110 61

dg-outexistsnot-exp-F.cH A D07-Nov-2006123 61

dg-outexistsnot-exp-P.cH A D22-May-2007264 81

dg-outexistsnot-exp-XF.cH A D07-Nov-2006110 61

dg-output-exp-P.cH A D01-Feb-2005285 102

dg-output-exp-XF.cH A D01-Feb-2005325 102

dg-warning-exp-F.cH A D12-Jul-2007233 115

dg-warning-exp-P.cH A D29-Sep-2009380 104

dg-warning-nocache-exp-P.cH A D07-Jan-2009113 74

gen_directive_testsH A D04-Jan-201624.7 KiB694573

test-framework.awkH A D04-Jan-20163.1 KiB7639

test-framework.expH A D04-Jan-20162.4 KiB8646

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-2016 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