This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[gomp] tcl testing circus
- From: Richard Henderson <rth at twiddle dot net>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 23 Sep 2005 13:44:11 -0700
- Subject: [gomp] tcl testing circus
Diego complains that my last change broke running the gomp
subdirectory by itself. Bah.
r~
* gcc.dg/gomp/gomp.exp: Discard both DEFAULT_CFLAGS and
save_DEFAULT_CFLAGS. Pass "-fopenmp" to dg-runtest directly.
Index: gcc.dg/gomp/gomp.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/gomp/Attic/gomp.exp,v
retrieving revision 1.1.2.3
diff -u -p -r1.1.2.3 gomp.exp
--- gcc.dg/gomp/gomp.exp 23 Sep 2005 04:32:21 -0000 1.1.2.3
+++ gcc.dg/gomp/gomp.exp 23 Sep 2005 20:38:31 -0000
@@ -3,19 +3,12 @@
# Load support procs.
load_lib gcc-dg.exp
-# If a testcase doesn't have special options, use these.
-global DEFAULT_CFLAGS
-set save_DEFAULT_CFLAGS "$DEFAULT_CFLAGS"
-set DEFAULT_CFLAGS " -fopenmp"
-
# Initialize `dg'.
dg-init
# Main loop.
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] \
- "" $DEFAULT_CFLAGS
-
-set DEFAULT_CFLAGS "$save_DEFAULT_CFLAGS"
+ "" "-fopenmp"
# All done.
dg-finish