aboutsummaryrefslogtreecommitdiff
path: root/test/TableGen
diff options
context:
space:
mode:
authorStella Stamenova <stilis@microsoft.com>2018-08-06 22:37:44 +0000
committerStella Stamenova <stilis@microsoft.com>2018-08-06 22:37:44 +0000
commita27199db06e1041ffedd657deed8f08b57c583da (patch)
treeaba3f5763e2b8f9079eb4e8a3a49d95ac4b6e95e /test/TableGen
parenta8868c6067ab836669cf38d468f6e9dfab678a6f (diff)
downloadllvm-a27199db06e1041ffedd657deed8f08b57c583da.tar.gz
[lit, python] Always add quotes around the python path in lit
Summary: The issue with the python path is that the path to python on Windows can contain spaces. To make the tests always work, the path to python needs to be surrounded by quotes. This change updates several configuration files which specify the path to python as a substitution and also remove quotes from existing tests. Reviewers: asmith, zturner, alexshap, jakehehrlich Reviewed By: zturner, alexshap, jakehehrlich Subscribers: mehdi_amini, nemanjai, eraman, kbarton, jakehehrlich, steven_wu, dexonsmith, stella.stamenova, delcypher, llvm-commits Differential Revision: https://reviews.llvm.org/D50206 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@339073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TableGen')
-rw-r--r--test/TableGen/JSON.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TableGen/JSON.td b/test/TableGen/JSON.td
index a53215579f2..968c2577fa9 100644
--- a/test/TableGen/JSON.td
+++ b/test/TableGen/JSON.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -dump-json %s | '%python' %S/JSON-check.py %s
+// RUN: llvm-tblgen -dump-json %s | %python %S/JSON-check.py %s
// CHECK: data['!tablegen_json_version'] == 1