]> granicus.if.org Git - llvm/commitdiff
lit.py: Fix new test harder for systems that don't use / as os.path.sep
authorJordan Rose <jordan_rose@apple.com>
Sat, 14 Oct 2017 00:26:48 +0000 (00:26 +0000)
committerJordan Rose <jordan_rose@apple.com>
Sat, 14 Oct 2017 00:26:48 +0000 (00:26 +0000)
I didn't think about '%{inputs}' having the same problem. This one
should be a fully Windows path name.

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

utils/lit/tests/shared-output.py

index 3eb6a89059069a73f37d320e9297ded7204d8cb2..5a22fceb537269d02fe0cb9e29d136a1984284f3 100644 (file)
@@ -1,5 +1,5 @@
 # RUN: rm -rf %t && mkdir -p %t
-# RUN: echo 'lit_config.load_config(config, os.path.join("%{inputs}", "shared-output", "lit.cfg"))' > %t/lit.site.cfg
+# RUN: echo 'lit_config.load_config(config, os.path.join("%S", "Inputs", "shared-output", "lit.cfg"))' > %t/lit.site.cfg
 # RUN: %{lit} %t
 # RUN: FileCheck %s < %t/Output/Shared/SHARED.tmp
 # RUN: FileCheck -check-prefix=NEGATIVE %s < %t/Output/Shared/SHARED.tmp