PR testsuite/78136
* gcc.dg/cpp/trad/trad.exp
(dg-runtest): Moved $srcdir/$subdir/ to DEFAULT_TRADCPPFLAGS.
From-SVN: r242500
+2016-11-16 Tamar Christina <tamar.christina@arm.com>
+
+ PR testsuite/78136
+ * gcc.dg/cpp/trad/trad.exp
+ (dg-runtest): Moved $srcdir/$subdir/ to
+ DEFAULT_TRADCPPFLAGS.
+
2016-11-16 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/78356
# If a testcase doesn't have special options, use these.
global DEFAULT_TRADCPPFLAGS
if ![info exists DEFAULT_TRADCPPFLAGS] then {
- set DEFAULT_TRADCPPFLAGS " -traditional-cpp"
+ set DEFAULT_TRADCPPFLAGS " -traditional-cpp -I$srcdir/$subdir/"
}
# Initialize `dg'.
# Main loop.
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] \
- "-I$srcdir/$subdir/" $DEFAULT_TRADCPPFLAGS
+ "" $DEFAULT_TRADCPPFLAGS
# All done.
dg-finish