[llvm] r337006 - [json, test] Fix the json.td test - the path to python could contain spaces

Stella Stamenova via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 13 08:10:53 PDT 2018


Author: stella.stamenova
Date: Fri Jul 13 08:10:53 2018
New Revision: 337006

URL: http://llvm.org/viewvc/llvm-project?rev=337006&view=rev
Log:
[json, test] Fix the json.td test - the path to python could contain spaces

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

Modified:
    llvm/trunk/test/TableGen/JSON.td

Modified: llvm/trunk/test/TableGen/JSON.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/TableGen/JSON.td?rev=337006&r1=337005&r2=337006&view=diff
==============================================================================
--- llvm/trunk/test/TableGen/JSON.td (original)
+++ llvm/trunk/test/TableGen/JSON.td Fri Jul 13 08:10:53 2018
@@ -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
 




More information about the llvm-commits mailing list