[PATCH] D49258: [json, test] Fix the json.td test - the path to python could contain spaces

Stella Stamenova via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 12 11:08:33 PDT 2018


stella.stamenova created this revision.
stella.stamenova added reviewers: asmith, simon_tatham.
Herald added a subscriber: llvm-commits.

The path to the python executable can contain spaces, so it should be specified with quotes.


Repository:
  rL LLVM

https://reviews.llvm.org/D49258

Files:
  test/TableGen/JSON.td


Index: test/TableGen/JSON.td
===================================================================
--- test/TableGen/JSON.td
+++ 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
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49258.155226.patch
Type: text/x-patch
Size: 348 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180712/b6b59935/attachment.bin>


More information about the llvm-commits mailing list