Author: rafael
Date: Sun Oct 27 08:59:51 2013
New Revision: 193502
URL: http://llvm.org/viewvc/llvm-project?rev=193502&view=rev
Log:
Use -target instead of triple and use FileCheck.
Modified:
cfe/trunk/test/Driver/noexecstack.c
Modified: cfe/trunk/test/Driver/noexecstack.c
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/noexecstack.c?rev=193502&r1=193501&r2=193502&view=diff
==============================================================================
--- cfe/trunk/test/Driver/noexecstack.c (original)
+++ cfe/trunk/test/Driver/noexecstack.c Sun Oct 27 08:59:51 2013
@@ -1 +1,3 @@
-// RUN: %clang -### %s -c -o tmp.o -triple i686-pc-linux-gnu -integrated-as
-Wa,--noexecstack 2>&1 | grep "mnoexecstack"
+// RUN: %clang -### %s -c -o tmp.o -target i686-pc-linux-gnu -integrated-as
-Wa,--noexecstack 2>&1 | FileCheck %s
+
+// CHECK: "-cc1" {{.*}} "-mnoexecstack"
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits