r217339 - Avoid writing to the test directory as it may not be writable.

David Blaikie dblaikie at gmail.com
Sun Sep 7 10:34:18 PDT 2014


Author: dblaikie
Date: Sun Sep  7 12:34:18 2014
New Revision: 217339

URL: http://llvm.org/viewvc/llvm-project?rev=217339&view=rev
Log:
Avoid writing to the test directory as it may not be writable.

Modified:
    cfe/trunk/test/SemaCXX/warn-unused-local-typedef-serialize.cpp

Modified: cfe/trunk/test/SemaCXX/warn-unused-local-typedef-serialize.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/warn-unused-local-typedef-serialize.cpp?rev=217339&r1=217338&r2=217339&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/warn-unused-local-typedef-serialize.cpp (original)
+++ cfe/trunk/test/SemaCXX/warn-unused-local-typedef-serialize.cpp Sun Sep  7 12:34:18 2014
@@ -1,6 +1,6 @@
 // RUN: %clang -x c++-header -c -Wunused-local-typedef %s -o %t.gch -Werror
-// RUN: %clang -DBE_THE_SOURCE -c -Wunused-local-typedef -include %t %s 2>&1 | FileCheck %s
-// RUN: %clang -DBE_THE_SOURCE -c -Wunused-local-typedef -include %t %s 2>&1 | FileCheck %s
+// RUN: %clang -DBE_THE_SOURCE -c -Wunused-local-typedef -include %t %s -o /dev/null 2>&1 | FileCheck %s
+// RUN: %clang -DBE_THE_SOURCE -c -Wunused-local-typedef -include %t %s -o /dev/null 2>&1 | FileCheck %s
 
 #ifndef BE_THE_SOURCE
 inline void myfun() {





More information about the cfe-commits mailing list