This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]