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