Don't eat stdout on r8/d8 runs in the normal case
R=tamaskenez@google.com
Bug:
Change-Id: I25ef01af007a09a747e27059f0df2a77831abd28
diff --git a/tools/d8.py b/tools/d8.py
index 2510b75..5478897 100755
--- a/tools/d8.py
+++ b/tools/d8.py
@@ -9,7 +9,8 @@
import sys
import utils
-def run(args, build = True, debug = True, profile = False, track_memory_file=None):
+def run(args, build = True, debug = True, profile = False,
+ track_memory_file=None):
if build:
gradle.RunGradle(['D8'])
cmd = []
@@ -23,7 +24,9 @@
cmd.extend(['-jar', utils.D8_JAR])
cmd.extend(args)
utils.PrintCmd(cmd)
- return subprocess.check_output(cmd)
+ result = subprocess.check_output(cmd)
+ print(result)
+ return result
def main():
build = True