Gnucash reports: Automake Failure
John Ralls
jralls at ceridwen.us
Mon Jun 3 10:21:23 EDT 2013
On Jun 3, 2013, at 3:44 AM, Aurimas Fišeras <aurimas at members.fsf.org> wrote:
> Line 824: $(patsubst.log: $(patsubst
>
> recheck: all
> @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
> @set +e; $(am__set_TESTS_bases); \
> bases=`for i in $$bases; do echo $$i; done \
> | $(am__list_recheck_tests)` || exit 1; \
> log_list=`for i in $$bases; do echo $$i.log; done`; \
> log_list=`echo $$log_list`; \
> $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
> am__force_recheck=am--force-recheck \
> TEST_LOGS="$$log_list"; \
> exit $$?
> $(patsubst.log: $(patsubst
> @p='$(patsubst'; \
> b='$(patsubst'; \
> $(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)
> %.scm,%,$(SCM_TESTS)).log: %.scm,%,$(SCM_TESTS))
> @p='%.scm,%,$(SCM_TESTS))'; \
> b='%.scm,%,$(SCM_TESTS))'; \
> $(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)
I'm using automake-13 as well, and I see the failure. The problem is explained in [1]; the "serial-tests" option is explained
in [2]. A long discussion with possible workarounds is in [3]. I tried the first work-around -- the one with m4_ifndef -- and
it didn't work for me, but simply adding serial-tests to AM_INIT_AUTOMAKE does:
AM_INIT_AUTOMAKE(1.12 [serial-tests dist-bzip2])
Note that that requires automake-1.12, the first version in which serial-tests was defined. The other option discussed in
[3] is to switch to a check_local target, which won't invoke the automake test runner at all. A third would be to rewrite
the test invocation to not use patsubst.
Regards,
John Ralls
[1] http://gnu-automake.7480.n7.nabble.com/bug-13477-automake-1-13-breaks-when-TESTS-variable-contains-GNU-make-macros-like-sort-td19596.html
[2] http://www.gnu.org/software/automake/manual/html_node/Serial-Test-Harness.html
[3] http://gnu-automake.7480.n7.nabble.com/serial-tests-option-and-backwards-compatibility-td19571.html
More information about the gnucash-devel
mailing list