Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Unified Diff: gcc/gcc/testsuite/obj-c++.dg/dg.exp

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/obj-c++.dg/defs.mm ('k') | gcc/gcc/testsuite/obj-c++.dg/encode-8.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/obj-c++.dg/dg.exp
diff --git a/gcc/gcc/testsuite/obj-c++.dg/dg.exp b/gcc/gcc/testsuite/obj-c++.dg/dg.exp
index 5fc1a976bbafec140d097c5b2c02c50ec86da5f3..109746467ec27bdaf0c4b0f691701bfb876e0dad 100644
--- a/gcc/gcc/testsuite/obj-c++.dg/dg.exp
+++ b/gcc/gcc/testsuite/obj-c++.dg/dg.exp
@@ -31,7 +31,12 @@ dg-init
set tests [lsort [find $srcdir/$subdir *.mm]]
# Main loop.
-dg-runtest $tests "" $DEFAULT_OBJCXXFLAGS
+dg-runtest $tests "-fgnu-runtime" $DEFAULT_OBJCXXFLAGS
+
+# darwin targets can also run code with the NeXT runtime.
+if [istarget "*-*-darwin*" ] {
+dg-runtest $tests "-fnext-runtime" $DEFAULT_OBJCXXFLAGS
+}
# All done.
dg-finish
« no previous file with comments | « gcc/gcc/testsuite/obj-c++.dg/defs.mm ('k') | gcc/gcc/testsuite/obj-c++.dg/encode-8.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698