This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] testsuite/gcc.test-framework to check test directives
On Thu, Jan 27, 2005 at 01:16:58AM +0000, Joseph S. Myers wrote:
> On Wed, 26 Jan 2005, Janis Johnson wrote:
> > This patch adds a set of tests that will probably only be used by me and
> > by people testing drop-in replacements to DejaGnu for running the GCC
> > testsuite. By default it is skipped, but if CHECK_TEST_FRAMEWORK is
> > defined then it generates thousands of tests in the build directory and
> > runs them. This is testing the testsuite infrastructure, so individual
> > tests are expected to be FAIL, XFAIL, UNSUPPORTED, etc. The expected
> > result is encoded in the name of the test, and an awk script checks these
> > and reports results.
> Would the framework for testing the testsuite infrastructure obsolete the
> present tests gcc.misc-tests/dg-*?
I hadn't realized those tests were there; does anyone use them?
gcc.misc-tests/dg-* test for different things than do my new tests.
The existing tests could be renamed so that my awk script that
determines whether results were as expected could look at them as well.
My tests could be merged with gcc.misc-tests/dg-test.exp, or those
tests could be run from the same exp files as my new generated tests.