[clang-tools-extra] r176295 - Don't use 'exit' in lit script

Edwin Vane edwin.vane at intel.com
Thu Feb 28 12:11:26 PST 2013


Author: revane
Date: Thu Feb 28 14:11:25 2013
New Revision: 176295

URL: http://llvm.org/viewvc/llvm-project?rev=176295&view=rev
Log:
Don't use 'exit' in lit script

Some buildbots use a shell that doesn't know 'exit'. So instead of using XFAIL
for UseAuto/iterator.cpp (since this problem doesn't exist for cmake) leave the
'grep' command and turn off the others.


Modified:
    clang-tools-extra/trunk/test/cpp11-migrate/UseAuto/iterator.cpp

Modified: clang-tools-extra/trunk/test/cpp11-migrate/UseAuto/iterator.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/cpp11-migrate/UseAuto/iterator.cpp?rev=176295&r1=176294&r2=176295&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/cpp11-migrate/UseAuto/iterator.cpp (original)
+++ clang-tools-extra/trunk/test/cpp11-migrate/UseAuto/iterator.cpp Thu Feb 28 14:11:25 2013
@@ -1,7 +1,4 @@
-// RUN: exit 0
-//
-// Until a recursive make issue can be fixed, can't use %gen_root.
-// NORUN grep -Ev "// *[A-Z-]+:" %s > %t.cpp
+// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp
 // NORUN cpp11-migrate -use-auto %t.cpp -- --std=c++11 -I %gen_root/UseAuto/Inputs
 // NORUN FileCheck -input-file=%t.cpp %s
 #include "my_std.h"





More information about the cfe-commits mailing list