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

Unified Diff: tools/telemetry/third_party/subprocess32/testdata/input_reader.py

Issue 1323303002: [Telemetry] Add timeout to telemetry run_tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
Index: tools/telemetry/third_party/subprocess32/testdata/input_reader.py
diff --git a/tools/telemetry/third_party/subprocess32/testdata/input_reader.py b/tools/telemetry/third_party/subprocess32/testdata/input_reader.py
new file mode 100644
index 0000000000000000000000000000000000000000..1dc3191ad183f751b4631462fbf3cb97b8c7de52
--- /dev/null
+++ b/tools/telemetry/third_party/subprocess32/testdata/input_reader.py
@@ -0,0 +1,7 @@
+"""When called as a script, consumes the input"""
+
+import sys
+
+if __name__ == "__main__":
+ for line in sys.stdin:
+ pass

Powered by Google App Engine
This is Rietveld 408576698