bug-diffutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-diffutils] [PATCH] tests: port to hosts lacking fmt, make -C


From: Paul Eggert
Subject: [bug-diffutils] [PATCH] tests: port to hosts lacking fmt, make -C
Date: Sun, 06 Jan 2013 08:32:44 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

I pushed this (it was lying around in my build directory,
I guess I'd forgotten to check it in earlier).

* tests/Makefile.am (built_programs): Don't assume fmt works.
Don't rely on 'make -C', either.
---
 tests/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index c9b59e5..f9beeeb 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -48,7 +48,7 @@ LOG_COMPILER= $(SHELL)
 
 built_programs =                                                       \
   echo 'spy:;@echo $$(PROGRAMS)'                                       \
-    | MAKEFLAGS= $(MAKE) -s -C $(builddir)/../src -f Makefile -f - spy \
-    | fmt -1 | sed 's,$(EXEEXT)$$,,' | sort -u
+    | (cd ../src && MAKEFLAGS= $(MAKE) -s -f Makefile -f - spy)                
\
+    | tr ' ' '\n' | sed '/^$$/d; s,$(EXEEXT)$$,,' | sort -u
 
 VERBOSE = yes
-- 
1.7.11.7




reply via email to

[Prev in Thread] Current Thread [Next in Thread]