]> granicus.if.org Git - llvm/commitdiff
[json, test] Fix the json.td test - the path to python could contain spaces
authorStella Stamenova <stilis@microsoft.com>
Fri, 13 Jul 2018 15:10:53 +0000 (15:10 +0000)
committerStella Stamenova <stilis@microsoft.com>
Fri, 13 Jul 2018 15:10:53 +0000 (15:10 +0000)
Summary: The path to the python executable can contain spaces, so it should be specified with quotes.

Reviewers: asmith, simon_tatham

Reviewed By: simon_tatham

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D49258

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

test/TableGen/JSON.td

index 968c2577fa993a523441cb78f2c055af1ca6df62..a53215579f2acf28628628c7c57c79825c886456 100644 (file)
@@ -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