Opened 13 years ago

Closed 13 years ago

#613 closed defect (fixed)

6 tests fail with old autotools

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.7
Component: test Version: 0.6
Keywords: Cc:


I have Automake 1.9.2 and Autoconf 2.59 and get the following:

PASS: version_test
PASS: view_test
6 of 60 tests failed
(1 test was not run)
Please report to

I suspect that it is due to the old version of automake and autoconf. Tests should be skipped when autotools are old.

Change History (4)

comment:1 Changed 13 years ago by Peter

AC_PREREQ exits with status 63 if an too old version of autoconf is used, which seems useful here.

comment:2 Changed 13 years ago by Peter

(In [2205]) refs #613. Add version test for add_falg tests and skip test if autoconf version is too old. Automake version should not be an issue.

comment:3 Changed 13 years ago by Peter

(In [2206]) refs #613

comment:4 Changed 13 years ago by Peter

Resolution: fixed
Status: newclosed

(In [2225]) fixes #613. Restructure tests to have a with no included acinclude but include needed code in instead. This makes it easier for autotools to give a useful diagnosis when autoconf is too old. The cache in the test were also removed (was never a good idea) so now tests are run from scratch every time, in fact, old testdir is removed before creating input files (such as This makes the tests a bit more time consuming, but they are also more accurate (reported failures have often been problem with the cache).

Note: See TracTickets for help on using tickets.