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

..03-May-2019-

READMEH A D01-Jan-20191.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 D17-Jun-2017155 116

dg-do-run-xrif-exp-P.cH A D17-Jun-2017152 116

dg-do-run-xrif-exp-XF.cH A D17-Jun-2017161 116

dg-do-run-xrif-exp-XP.cH A D17-Jun-2017157 116

dg-do-run-xrif-nocache-exp-XF.cH A D17-Jun-2017134 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 D17-Jun-2017122 95

dg-dot-run-sif-exp-U.cH A D17-Jun-2017124 95

dg-dot-run-xif-exp-P.cH A D17-Jun-2017130 95

dg-dot-run-xif-exp-XP.cH A D17-Jun-2017133 95

dg-dot-run-xrif-exp-F.cH A D17-Jun-2017185 116

dg-dot-run-xrif-exp-P.cH A D17-Jun-2017185 116

dg-dot-run-xrif-exp-XF.cH A D17-Jun-2017195 116

dg-dot-run-xrif-exp-XP.cH A D17-Jun-2017200 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 D19-Apr-2017323 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 D17-Jun-2017146 105

dg-nocache-sif-exp-U.cH A D17-Jun-2017133 105

dg-nocache-xif-exp-P.cH A D17-Jun-2017147 105

dg-nocache-xif-exp-XP.cH A D17-Jun-2017134 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 D01-Jan-201924.7 KiB694573

test-framework.awkH A D01-Jan-20193.1 KiB7639

test-framework.expH A D01-Jan-20192.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-2019 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