]> granicus.if.org Git - clang/commitdiff
Write output file to temp directory. The tests shouldn't assume that
authorDaniel Jasper <djasper@google.com>
Tue, 23 Jun 2015 09:26:37 +0000 (09:26 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 23 Jun 2015 09:26:37 +0000 (09:26 +0000)
they can write to the current working directory.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240388 91177308-0d34-0410-b5e6-96231b3b80d8

test/Modules/explicit-build-prefer-self.cpp

index aa2197995b45cde830f4215988911ef185b225d1..13fbdbd764c4a2b607f5ae3566a28031930d0917 100644 (file)
@@ -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