GNU bug report logs -
#13771
GNU make specific stuff cannot be used in RHS of "TESTS ="
Previous Next
Full log
View this message in rfc822 format
Hi,
I noticed that some modules are using make functions to assign values to
TESTS. For example, I found the following in my GNOME jhbuild checkout:
TESTS = $(filter-out fake-tp-backend individual-zeitgeist,$(noinst_PROGRAMS))
TESTS = $(sort $(tests))
These cause warnings like:
Makefile.am:2: warning: sort $(tests: non-POSIX variable name
Makefile.am:2: (probably a GNU make extension)
and also generate the following rule in Makefile.in, which seems
apparently wrong:
$(sort.log: $(sort
@p='$(sort'; \
b='$(sort'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
Shall it be fixed in Makefile.am or Automake?
Regards,
--
Daiki Ueno
This bug report was last modified 12 years and 67 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.