plugin.exp: Run the plugindir tests.

2010-04-28  Matthias Klose  <doko@ubuntu.com>

        * gcc.dg/plugin/plugin.exp: Run the plugindir tests.
        * gcc.dg/plugindir1.c: Move to gcc.dg/plugin/plugindir1.c.
        * gcc.dg/plugindir2.c: Move to gcc.dg/plugin/plugindir2.c.
        * gcc.dg/plugindir3.c: Move to gcc.dg/plugin/plugindir3.c.
        * gcc.dg/plugindir4.c: Move to gcc.dg/plugin/plugindir4.c.

From-SVN: r158840
This commit is contained in:
Matthias Klose 2010-04-28 19:25:58 +00:00 committed by Matthias Klose
parent 20225a9bec
commit ab6edba459
6 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2010-04-28 Matthias Klose <doko@ubuntu.com>
* gcc.dg/plugin/plugin.exp: Run the plugindir tests.
* gcc.dg/plugindir1.c: Move to gcc.dg/plugin/plugindir1.c.
* gcc.dg/plugindir2.c: Move to gcc.dg/plugin/plugindir2.c.
* gcc.dg/plugindir3.c: Move to gcc.dg/plugin/plugindir3.c.
* gcc.dg/plugindir4.c: Move to gcc.dg/plugin/plugindir4.c.
2010-04-28 Eric Botcazou <ebotcazou@adacore.com>
* gcc.dg/const-uniq-1.c: New test.

View File

@ -68,3 +68,15 @@ foreach plugin_test $plugin_test_list {
set plugin_input_tests [lreplace $plugin_test 0 0]
plugin-test-execute $plugin_src $plugin_input_tests
}
# run the plugindir tests
# Initialize `dg'.
dg-init
# Main loop.
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/plugindir*.\[cSi\]]] \
"" $DEFAULT_CFLAGS
# All done.
dg-finish