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]

Re: [gomp] New tests


On Monday 17 October 2005 13:01, Jakub Jelinek wrote:

> I'm attaching 2 patches to solve this, the one that removes the special
> appendix-a/*.exp seems preferrable to me (as it really doesn't need
> anything different from the dg.exp).  Ok?
>
I've implemented your patch #2 in gcc/, could you install yours in 
libgomp/?

Thanks.
2005-10-17  Jakub Jelinek  <jakub@redhat.com>
	    Diego Novillo  <dnovillo@redhat.com>

	* gcc.dg/gomp/gomp.exp: Use find instead of glob to gather
	test cases.
	* gcc.dg/gomp/appendix-a/appendix-a.exp: Remove.

Index: testsuite/gcc.dg/gomp/gomp.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/gomp/Attic/gomp.exp,v
retrieving revision 1.1.2.4
diff -d -u -p -r1.1.2.4 gomp.exp
--- testsuite/gcc.dg/gomp/gomp.exp	23 Sep 2005 20:42:22 -0000	1.1.2.4
+++ testsuite/gcc.dg/gomp/gomp.exp	17 Oct 2005 20:09:17 -0000
@@ -7,7 +7,7 @@ load_lib gcc-dg.exp
 dg-init
 
 # Main loop.
-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] \
+dg-runtest [lsort [find $srcdir/$subdir *.c]] \
 	"" "-fopenmp"
 
 # All done.
Index: testsuite/gcc.dg/gomp/appendix-a/appendix-a.exp
===================================================================
RCS file: testsuite/gcc.dg/gomp/appendix-a/appendix-a.exp
diff -N testsuite/gcc.dg/gomp/appendix-a/appendix-a.exp
--- testsuite/gcc.dg/gomp/appendix-a/appendix-a.exp	17 Oct 2005 16:07:42 -0000	1.1.2.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-# GCC testsuite that uses the `dg.exp' driver.
-
-# Load support procs.
-load_lib gcc-dg.exp
-
-# Initialize `dg'.
-dg-init
-
-# Main loop.
-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] \
-	"" "-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]