Let run_tests.py just stream output (#18534)
diff --git a/shell/platform/android/BUILD.gn b/shell/platform/android/BUILD.gn
index 8869ead..2d40c67 100644
--- a/shell/platform/android/BUILD.gn
+++ b/shell/platform/android/BUILD.gn
@@ -463,7 +463,7 @@
embedding_jar_path,
] + embedding_dependencies_jars
- inputs = _jar_dependencies
+ inputs = _jar_dependencies + additional_jar_files
_rebased_current_path = rebase_path(".")
_rebased_jar_path = rebase_path(jar_path, root_build_dir)
diff --git a/testing/run_tests.py b/testing/run_tests.py
index bd84a36..b7a0cdd 100755
--- a/testing/run_tests.py
+++ b/testing/run_tests.py
@@ -38,14 +38,10 @@
print 'Running command "%s"' % command_string
start_time = time.time()
- process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, **kwargs)
- (output, _) = process.communicate()
+ process = subprocess.Popen(cmd, stdout=sys.stdout, stderr=sys.stderr, **kwargs)
+ process.communicate()
end_time = time.time()
- # Print the result no matter what.
- for line in output.splitlines():
- print line
-
if process.returncode != 0:
PrintDivider('!')
raise Exception('Command "%s" exited with code %d' % (command_string, process.returncode))