OSDN Git Service

Add TLS checks to ObjC
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 May 2010 11:16:33 +0000 (11:16 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:05:38 +0000 (14:05 +0900)
* objc-obj-c++-shared/Object1.m: New.
* objc.dg/torture: New directory.
* objc.dg/torture/tls: Ditto.
* objc.dg/tls: Ditto.
* objc.dg/torture/tls/trivial.m: New test.
* objc.dg/torture/tls/thr-init-2.m: New test.
* objc.dg/torture/tls/thr-init-3.m: New test.
* objc.dg/torture/tls/thr-init.m: New test.
* objc.dg/torture/tls/diag-1.m: New test.
* objc.dg/torture/tls/tls.exp: New.
* objc.dg/torture/trivial.m: New test.
* objc.dg/torture/dg-torture.exp: New.
* objc.dg/tls/diag-3.m: New test.
* objc.dg/tls/diag-4.m: New test.
* objc.dg/tls/diag-5.m: New test.
* objc.dg/tls/init-1.m: New test.
* objc.dg/tls/init-2.m: New test.
* objc.dg/tls/tls.exp: New.
* objc.dg/tls/diag-2.m: New test.
* lib/objc.exp: Respond to dg-additional-files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159311 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/objc.dg/dg.exp

index 4daeaa6..d8ea55e 100644 (file)
@@ -1,3 +1,26 @@
+2010-05-12  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * objc-obj-c++-shared/Object1.m: New.
+       * objc.dg/torture: New directory.
+       * objc.dg/torture/tls: Ditto.
+       * objc.dg/tls: Ditto.
+       * objc.dg/torture/tls/trivial.m: New test.
+       * objc.dg/torture/tls/thr-init-2.m: New test.
+       * objc.dg/torture/tls/thr-init-3.m: New test.
+       * objc.dg/torture/tls/thr-init.m: New test.
+       * objc.dg/torture/tls/diag-1.m: New test.
+       * objc.dg/torture/tls/tls.exp: New.
+       * objc.dg/torture/trivial.m: New test.
+       * objc.dg/torture/dg-torture.exp: New.
+       * objc.dg/tls/diag-3.m: New test.
+       * objc.dg/tls/diag-4.m: New test.
+       * objc.dg/tls/diag-5.m: New test.
+       * objc.dg/tls/init-1.m: New test.
+       * objc.dg/tls/init-2.m: New test.
+       * objc.dg/tls/tls.exp: New.
+       * objc.dg/tls/diag-2.m: New test.
+       * lib/objc.exp: Respond to dg-additional-files.
+
 2010-05-12  Maxim Kuvyrkov  <maxim@codesourcery.com>
 
        * gcc.target/m68k/20100512-1.c: New.
 2010-05-12  Maxim Kuvyrkov  <maxim@codesourcery.com>
 
        * gcc.target/m68k/20100512-1.c: New.
index 4c5730e..52433a4 100644 (file)
@@ -27,14 +27,15 @@ if ![info exists DEFAULT_CFLAGS] then {
 # Initialize `dg'.
 dg-init
 
 # Initialize `dg'.
 dg-init
 
+# Gather a list of all tests.
+set tests [lsort [glob -nocomplain $srcdir/$subdir/*.m]]
+
 # Main loop.
 # Main loop.
-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[m\]]] \
-       "-fgnu-runtime" $DEFAULT_CFLAGS
+dg-runtest $tests "-fgnu-runtime" $DEFAULT_CFLAGS
 
 # darwin targets can also run code with the NeXT runtime.
 if [istarget "*-*-darwin*" ] {
 
 # darwin targets can also run code with the NeXT runtime.
 if [istarget "*-*-darwin*" ] {
-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[m\]]] \
-       "-fnext-runtime" $DEFAULT_CFLAGS
+  dg-runtest $tests "-fnext-runtime" $DEFAULT_CFLAGS
 }
 
 # All done.
 }
 
 # All done.