global DEFAULT_CFLAGS
if [info exists DEFAULT_CFLAGS] then {
- set save_default_cflags DEFAULT_CFLAGS
+ set save_default_cflags $DEFAULT_CFLAGS
}
# If a testcase doesn't have special options, use these.
# Initialize `dg'.
dg-init
-# Main loop.
+# Main loop; run the C-only tests.
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] \
"" $DEFAULT_CFLAGS
+# Run the tests that are shared with C++ testing.
+dg-runtest [lsort [glob -nocomplain $srcdir/c-c++-common/dfp/*c]] \
+ "" $DEFAULT_CFLAGS
# All done.
dg-finish