r250690 - Make test not rely on %T ending on /Output.
Manuel Klimek via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 19 01:27:52 PDT 2015
Author: klimek
Date: Mon Oct 19 03:27:51 2015
New Revision: 250690
URL: http://llvm.org/viewvc/llvm-project?rev=250690&view=rev
Log:
Make test not rely on %T ending on /Output.
Modified:
cfe/trunk/test/Driver/ps4-linker-non-win.c
Modified: cfe/trunk/test/Driver/ps4-linker-non-win.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/ps4-linker-non-win.c?rev=250690&r1=250689&r2=250690&view=diff
==============================================================================
--- cfe/trunk/test/Driver/ps4-linker-non-win.c (original)
+++ cfe/trunk/test/Driver/ps4-linker-non-win.c Mon Oct 19 03:27:51 2015
@@ -1,21 +1,21 @@
// UNSUPPORTED: system-windows
// REQUIRES: x86-registered-target
-// RUN: rm -f %T/ps4-ld
-// RUN: touch %T/ps4-ld
-// RUN: chmod +x %T/ps4-ld
+// RUN: mkdir -p %T/Output
+// RUN: rm -f %T/Output/ps4-ld
+// RUN: touch %T/Output/ps4-ld
+// RUN: chmod +x %T/Output/ps4-ld
-// RUN: env "PATH=%T:%PATH%" %clang -### -target x86_64-scei-ps4 %s -fuse-ld=gold 2>&1 \
+// RUN: env "PATH=%T/Output:%PATH%" %clang -### -target x86_64-scei-ps4 %s -fuse-ld=gold 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-PS4-LINKER %s
-// RUN: env "PATH=%T:%PATH%" %clang -### -target x86_64-scei-ps4 %s -shared 2>&1 \
+// RUN: env "PATH=%T/Output:%PATH%" %clang -### -target x86_64-scei-ps4 %s -shared 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-PS4-LINKER %s
-// RUN: env "PATH=%T:%PATH%" %clang -### -target x86_64-scei-ps4 %s 2>&1 \
+// RUN: env "PATH=%T/Output:%PATH%" %clang -### -target x86_64-scei-ps4 %s 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-PS4-LINKER %s
-// RUN: env "PATH=%T:%PATH%" %clang -### -target x86_64-scei-ps4 %s -fuse-ld=ps4 2>&1 \
+// RUN: env "PATH=%T/Output:%PATH%" %clang -### -target x86_64-scei-ps4 %s -fuse-ld=ps4 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-PS4-LINKER %s
-// RUN: env "PATH=%T:%PATH%" %clang -### -target x86_64-scei-ps4 %s -shared \
+// RUN: env "PATH=%T/Output:%PATH%" %clang -### -target x86_64-scei-ps4 %s -shared \
// RUN: -fuse-ld=ps4 2>&1 | FileCheck --check-prefix=CHECK-PS4-LINKER %s
-// FIXME: This depends that %T ends with "Output".
// CHECK-PS4-LINKER: Output/ps4-ld
More information about the cfe-commits
mailing list