Package: automake Version: 1.9.6 Severity: wishlist As I report in #444990, dmake is currently FTBFS because it contains some tests which are not marked executable. These tests are simply contained in the package, in files which end up extracted with mode 664 (or 644, depending on umask).
It would be nice if the automake-generated Makefile[.in] automatically did chmod +x on files mentioned in TESTS. It should do this by default but have a way to override it (since it might not be appropriate for some packages). I looked at dmake's tests/Makefile.in and it says this: check-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; skip=0; \ srcdir=$(srcdir); export srcdir; \ list='$(TESTS)'; \ if test -n "$$list"; then \ for tst in $$list; do \ if test -f ./$$tst; then dir=./; \ elif test -f $$tst; then dir=; \ else dir="$(srcdir)/"; fi; \ ---> if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ all=`expr $$all + 1`; \ The arrow shows where I think something like chmod +x $$tst; \ could be added. I'm not an automake expert so I don't know, I'm afraid, how to organise making this behaviour optional, and other questions such as where in automake the change should be made, and whether chmod should read $(CHMOD). Ian. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]