[llvm] r315773 - lit.py: Fix new test for systems that don't use / as os.path.sep
Jordan Rose via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 13 15:46:40 PDT 2017
Author: jrose
Date: Fri Oct 13 15:46:40 2017
New Revision: 315773
URL: http://llvm.org/viewvc/llvm-project?rev=315773&view=rev
Log:
lit.py: Fix new test for systems that don't use / as os.path.sep
Modified:
llvm/trunk/utils/lit/tests/shared-output.py
Modified: llvm/trunk/utils/lit/tests/shared-output.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/tests/shared-output.py?rev=315773&r1=315772&r2=315773&view=diff
==============================================================================
--- llvm/trunk/utils/lit/tests/shared-output.py (original)
+++ llvm/trunk/utils/lit/tests/shared-output.py Fri Oct 13 15:46:40 2017
@@ -1,5 +1,5 @@
# RUN: rm -rf %t && mkdir -p %t
-# RUN: echo 'lit_config.load_config(config, "%{inputs}/shared-output/lit.cfg")' > %t/lit.site.cfg
+# RUN: echo 'lit_config.load_config(config, os.path.join("%{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
More information about the llvm-commits
mailing list