]> gcc.gnu.org Git - gcc.git/commit
Generate and scan documentation output in Ddoc tests.
authorIain Buclaw <ibuclaw@gdcproject.org>
Sun, 9 Dec 2018 19:55:54 +0000 (19:55 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Sun, 9 Dec 2018 19:55:54 +0000 (19:55 +0000)
commit54f397919ae47f9c2433be93fcc14288899beb8c
treedd018089cc652dc3988c715c571821c88940ca3e
parentb8559e810f5912bba9fba39c005f3fe2c1de09d9
Generate and scan documentation output in Ddoc tests.

The tests in gdc.test/compilable/ddoc*.d don't require the module to be
compiled all the way down to object code.  Instead, only compile the
test sources with -fdoc, and scan the generated html content.

gcc/testsuite/ChangeLog:

PR d/88039
* gdc.test/gdc-test.exp (gdc-convert-args): Handle -D.
(dmd2dg): Check generated html in ddoc tests.
(gdc-do-test): Set dg-do-what-default to compile for ddoc tests.

From-SVN: r266933
gcc/testsuite/ChangeLog
gcc/testsuite/gdc.test/gdc-test.exp
This page took 0.055846 seconds and 5 git commands to generate.