From c1e4bcb8fc497ce3c97f92eab40f7cad4d697160 Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Wed, 15 Nov 2023 14:08:36 +0100 Subject: [PATCH] What output comes from what process? --- pkgs/ffigen/test/native_objc_test/setup.dart | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/ffigen/test/native_objc_test/setup.dart b/pkgs/ffigen/test/native_objc_test/setup.dart index ee6bb57b5..5481e4d6f 100644 --- a/pkgs/ffigen/test/native_objc_test/setup.dart +++ b/pkgs/ffigen/test/native_objc_test/setup.dart @@ -65,11 +65,17 @@ Future _runProcess( workingDirectory: workingDirectory, ); if (result.exitCode != 0) { - stdout.writeln( + stderr.writeln( 'Process invocation failed with exit code ${result.exitCode}.', ); - stdout.write(result.stdout); - stderr.write(result.stderr); + stderr.writeln('---'); + stderr.writeln('stdout:'); + stderr.writeln(result.stdout); + stderr.writeln('---'); + stderr.writeln('stderr:'); + stderr.writeln(result.stderr); + stderr.writeln('---'); + stderr.writeln('Throwing process exception.'); throw ProcessException( executable, arguments,