From f88eb23b02088e7549c46231d0dfa4ee8d35a365 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 28 Apr 2013 19:09:20 -0400 Subject: Ensure error messages are printed with sync'd output. Enhance the child_error() function so that it will write error output to the child's sync output buffer, if it exists. If it doesn't the output goes to stdout/stderr. --- tests/scripts/features/output-sync | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'tests/scripts/features') diff --git a/tests/scripts/features/output-sync b/tests/scripts/features/output-sync index d1b743d..c8ff291 100644 --- a/tests/scripts/features/output-sync +++ b/tests/scripts/features/output-sync @@ -197,14 +197,10 @@ bar: end #MAKE#[1]: Leaving directory '#PWD#/bar' #MAKE#[1]: Leaving directory '#PWD#/bar' #MAKE#[1]: Entering directory '#PWD#/foo' -Makefile:20: recipe for target 'foo-fail' failed -#MAKE#[1]: Leaving directory '/home/psmith/src/make/make/tests/foo' -#MAKE#[1]: Entering directory '/home/psmith/src/make/make/tests/foo' -#MAKE#[1]: *** [foo-fail] Error 1 -#MAKE#[1]: Leaving directory '/home/psmith/src/make/make/tests/foo' -#MAKE#[1]: Entering directory '/home/psmith/src/make/make/tests/foo' foo-fail: start foo-fail: end +Makefile:20: recipe for target 'foo-fail' failed +#MAKE#[1]: *** [foo-fail] Error 1 #MAKE#[1]: Leaving directory '#PWD#/foo' #MAKE#[1]: Leaving directory '#PWD#/foo' #MAKEFILE#:4: recipe for target 'make-foo-fail' failed -- cgit v1.2.3