r240388 - Write output file to temp directory. The tests shouldn't assume that

Daniel Jasper djasper at google.com
Tue Jun 23 02:26:37 PDT 2015


Author: djasper
Date: Tue Jun 23 04:26:37 2015
New Revision: 240388

URL: http://llvm.org/viewvc/llvm-project?rev=240388&view=rev
Log:
Write output file to temp directory. The tests shouldn't assume that
they can write to the current working directory.

Modified:
    cfe/trunk/test/Modules/explicit-build-prefer-self.cpp

Modified: cfe/trunk/test/Modules/explicit-build-prefer-self.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/explicit-build-prefer-self.cpp?rev=240388&r1=240387&r2=240388&view=diff
==============================================================================
--- cfe/trunk/test/Modules/explicit-build-prefer-self.cpp (original)
+++ cfe/trunk/test/Modules/explicit-build-prefer-self.cpp Tue Jun 23 04:26:37 2015
@@ -1,3 +1,3 @@
 // RUN: rm -rf %t
-// RUN: %clang_cc1 -fmodules -fno-implicit-modules -emit-module -fmodule-name=a %S/Inputs/explicit-build-prefer-self/map -o a.pcm
-// RUN: %clang_cc1 -fmodules -fno-implicit-modules -emit-module -fmodule-name=b %S/Inputs/explicit-build-prefer-self/map -o b.pcm
+// RUN: %clang_cc1 -fmodules -fno-implicit-modules -emit-module -fmodule-name=a %S/Inputs/explicit-build-prefer-self/map -o %t/a.pcm
+// RUN: %clang_cc1 -fmodules -fno-implicit-modules -emit-module -fmodule-name=b %S/Inputs/explicit-build-prefer-self/map -o %t/b.pcm





More information about the cfe-commits mailing list