Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Unified Diff: tools/gn/t

Issue 2265833002: Implement `gn analyze`. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sample tests Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« tools/gn/graph.cc ('K') | « tools/gn/outp.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/t
diff --git a/tools/gn/t b/tools/gn/t
new file mode 100755
index 0000000000000000000000000000000000000000..f70f84708539aa61af9822b6ec0b358eec5b1c9f
--- /dev/null
+++ b/tools/gn/t
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+for i in inp*.json
+do
+ echo $i
+ $csrc/out/Debug/gn analyze //out/Debug $i outp.json && python -m json.tool outp.json > $i.act
+ diff $i.exp $i.act
+done
« tools/gn/graph.cc ('K') | « tools/gn/outp.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698