]> granicus.if.org Git - llvm/commitdiff
lit.py: Previous test fix was a red herring; backslashes are escapes
authorJordan Rose <jordan_rose@apple.com>
Sat, 14 Oct 2017 00:49:19 +0000 (00:49 +0000)
committerJordan Rose <jordan_rose@apple.com>
Sat, 14 Oct 2017 00:49:19 +0000 (00:49 +0000)
I don't have access to a Windows machine at the moment, so if this
doesn't fix it I'll just revert for now.

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

utils/lit/tests/shared-output.py

index 5a22fceb537269d02fe0cb9e29d136a1984284f3..a5905e92b23ba705b90c96dbfa36b62cab513fe6 100644 (file)
@@ -1,5 +1,5 @@
 # RUN: rm -rf %t && mkdir -p %t
-# RUN: echo 'lit_config.load_config(config, os.path.join("%S", "Inputs", "shared-output", "lit.cfg"))' > %t/lit.site.cfg
+# RUN: echo 'lit_config.load_config(config, os.path.join(r"%{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