[PATCH] D50281: [lit, python] Always add quotes around the python path in lit
Stella Stamenova via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 6 15:38:26 PDT 2018
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL339074: [lit, python] Always add quotes around the python path in lit (authored by stella.stamenova, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D50281?vs=159395&id=159415#toc
Repository:
rL LLVM
https://reviews.llvm.org/D50281
Files:
cfe/trunk/test/Tooling/clang-diff-json.cpp
Index: cfe/trunk/test/Tooling/clang-diff-json.cpp
===================================================================
--- cfe/trunk/test/Tooling/clang-diff-json.cpp
+++ cfe/trunk/test/Tooling/clang-diff-json.cpp
@@ -1,10 +1,10 @@
// RUN: clang-diff -ast-dump-json %s -- \
-// RUN: | '%python' -c 'import json, sys; json.dump(json.loads(sys.stdin.read()), sys.stdout, sort_keys=True, indent=2)' \
+// RUN: | %python -c 'import json, sys; json.dump(json.loads(sys.stdin.read()), sys.stdout, sort_keys=True, indent=2)' \
// RUN: | FileCheck %s
-// CHECK: "begin": 301,
+// CHECK: "begin": 311,
// CHECK: "type": "FieldDecl",
-// CHECK: "end": 321,
+// CHECK: "end": 319,
// CHECK: "type": "CXXRecordDecl",
class A {
int x;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50281.159415.patch
Type: text/x-patch
Size: 730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180806/623933f6/attachment.bin>
More information about the cfe-commits
mailing list