diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-03-29 20:43:01 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-03-29 21:43:50 +0200 |
commit | 60c254b279e8e8443b8ad26cc46b9e4084cff66c (patch) | |
tree | 5df8f7071ff19e4b8318e4332967ef539ce5e258 /gcc/lra.c | |
parent | afd9da8b8ad01268478fca6db3f63ca4c51b1900 (diff) | |
download | gcc-60c254b279e8e8443b8ad26cc46b9e4084cff66c.zip gcc-60c254b279e8e8443b8ad26cc46b9e4084cff66c.tar.gz gcc-60c254b279e8e8443b8ad26cc46b9e4084cff66c.tar.bz2 |
testsuite: Handle more kinds of gdc.test test flags and directives.
This patch adds cases for JSON and D header file generation flags in the
testsuite, and sets up the test accordingly to only compile, then check
that the expected output file exists.
Support has also been added for the DFLAGS test directive, which
disables testing with all default flag permutations.
gcc/testsuite/ChangeLog:
* lib/gdc-utils.exp: (gdc-convert-args): Handle compilation test
arguments -D, -H, -X, and set compilable_output_file_ext.
(gdc-convert-test): Document and add cases DFLAGS and
EXTRA_CPP_SOURCES. Add dg-final entry for output generation tests,
and set compilable_do_what to compile.
(gdc-do-test): Define compilable_do_what, default to assemble.
Diffstat (limited to 'gcc/lra.c')
0 files changed, 0 insertions, 0 deletions