On Tue, 2019-09-10 at 20:36 -0400, Dmitry Goncharov via Bug reports and
discussion for GNU make wrote:
> echo -n is not portable.
> Certain implementations of echo everything, including -n.
> This makes test 1 of grouped_targets fail.

This was already fixed by a patch from Paul Eggert on Aug 27.
Thanks!



commit 8bffc8d53ce302f3170b10c70f3a9680a6b72b68
Author: Paul Eggert <egg...@cs.ucla.edu>
Date:   2019-08-27 01:08:47 -0700

    Port grouped_targets test to Solaris 10

    * tests/scripts/features/grouped_targets: Use ‘printf ''’
    instead of ‘echo -n’, as POSIX says the latter is not portable.

diff --git a/tests/scripts/features/grouped_targets 
b/tests/scripts/features/grouped_targets
index ef9366b..615e962 100644
--- a/tests/scripts/features/grouped_targets
+++ b/tests/scripts/features/grouped_targets
@@ -9,7 +9,7 @@ $details = "Here we test for requirements like\n"
 run_make_test(q{
 .PHONY: all
 &:;
-all: ;@echo -n
+all: ;@printf ''
 },
 '', "");


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make
  • patch to fix ... Dmitry Goncharov via Bug reports and discussion for GNU make
    • Re: patc... Paul Smith

Reply via email to