Show test output when engine unit test fails. (flutter/engine#14026)
This commit is contained in:
@@ -24,7 +24,11 @@ dart_tests_dir = os.path.join(buildroot_dir, 'flutter', 'testing', 'dart',)
|
||||
fml_unittests_filter = '--gtest_filter=-*TimeSensitiveTest*:*GpuThreadMerger*'
|
||||
|
||||
def RunCmd(cmd, **kwargs):
|
||||
print(subprocess.check_output(cmd, **kwargs))
|
||||
try:
|
||||
print(subprocess.check_output(cmd, **kwargs))
|
||||
except subprocess.CalledProcessError as cpe:
|
||||
print(cpe.output)
|
||||
raise cpe
|
||||
|
||||
def IsMac():
|
||||
return sys.platform == 'darwin'
|
||||
|
||||
Reference in New Issue
Block a user