Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 25f9138

Browse files
aartbikcommit-bot@chromium.org
authored andcommitted
[dart/fuzzer] show exit/stdout/stderr on fail
dart-lang/sdk#37632 Change-Id: I38b996eca7f12b2f4e4d0412f1c922dd3999d60b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/110584 Reviewed-by: Felicitas Hetzelt <[email protected]> Commit-Queue: Aart Bik <[email protected]>
1 parent 7d6024b commit 25f9138

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

runtime/tools/dartfuzz/dartfuzz_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ TestResult runCommand(List<String> cmd, Map<String, String> env) {
3737
if (res.exitCode == -sigkill) {
3838
return new TestResult(ResultCode.timeout, res.stdout);
3939
} else if (res.exitCode != 0) {
40-
return new TestResult(ResultCode.error, res.stderr);
40+
return new TestResult(
41+
ResultCode.error, '${res.exitCode}\n${res.stdout}\n${res.stderr}\n');
4142
}
4243
return new TestResult(ResultCode.success, res.stdout);
4344
}

0 commit comments

Comments
 (0)