r217337 - Fix test to not write output to the test directory, as it may not be writable.

David Blaikie dblaikie at gmail.com
Sun Sep 7 09:59:13 PDT 2014


Author: dblaikie
Date: Sun Sep  7 11:59:13 2014
New Revision: 217337

URL: http://llvm.org/viewvc/llvm-project?rev=217337&view=rev
Log:
Fix test to not write output to the test directory, as it may not be writable.

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

Modified: cfe/trunk/test/Modules/warn-unused-local-typedef.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/warn-unused-local-typedef.cpp?rev=217337&r1=217336&r2=217337&view=diff
==============================================================================
--- cfe/trunk/test/Modules/warn-unused-local-typedef.cpp (original)
+++ cfe/trunk/test/Modules/warn-unused-local-typedef.cpp Sun Sep  7 11:59:13 2014
@@ -1,6 +1,6 @@
 // RUN: rm -rf %t
-// RUN: %clang -Wunused-local-typedef -c -x objective-c++ -fcxx-modules -fmodules -fmodules-cache-path=%t -I %S/Inputs %s 2>&1 | FileCheck %s -check-prefix=CHECK_1
-// RUN: %clang -Wunused-local-typedef -c -x objective-c++ -fcxx-modules -fmodules -fmodules-cache-path=%t -I %S/Inputs %s 2>&1 | FileCheck %s -check-prefix=CHECK_2 -allow-empty
+// RUN: %clang -Wunused-local-typedef -c -x objective-c++ -fcxx-modules -fmodules -fmodules-cache-path=%t -I %S/Inputs %s -o /dev/null 2>&1 | FileCheck %s -check-prefix=CHECK_1
+// RUN: %clang -Wunused-local-typedef -c -x objective-c++ -fcxx-modules -fmodules -fmodules-cache-path=%t -I %S/Inputs %s -o /dev/null 2>&1 | FileCheck %s -check-prefix=CHECK_2 -allow-empty
 
 // For modules, the warning should only fire the first time, when the module is
 // built.





More information about the cfe-commits mailing list