Re: [PATCH v1] Fix misuse of DejaGnu in Automake testsuite

Jim Meyering <[email protected]>
Newsgroups gmane.comp.sysutils.automake.patches
Message-ID <CA+8g5KFk9BFvZ18w4zskhP=Tp9k_O5fzQExYAbEAF1AFdt-giA@mail.gmail.com>
On Tue, Jul 13, 2021 at 9:39 PM Jacob Bachmeyer <[email protected]> wrote:
> This is a revised patch that changes the DejaGnu tests in the Automake
> testsuite to properly use a testsuite/ directory.  A previous "v0" of
> this patch was sent to the general Automake list as an illustration of
> the problem, but that version of the patch broke compatibility with all
> older releases of DejaGnu.  This version instead uses recursive make to
> run DejaGnu in the testsuite/ directory in each case.  This works with
> older versions of DejaGnu and this usage of DejaGnu will continue to be
> supported for the foreseeable future.
>
> On a side note, DejaGnu can now be run from its source tree or a Git
> working tree.  While the Automake testsuite does not seem to provide a
> way to set RUNTEST to point to an alternate runtest, "
> PATH=/where/you/put/dejagnu-1.6.3:$PATH make check " will use an
> unpacked version of the 1.6.3 release even if the system has an older
> version installed.  Older versions of DejaGnu did not support this reliably.

I confirmed that all tests pass for me on Fedora 34,
both with dejagnu-1.6.1 and with 1.6.3.
I've pushed that with a ChangeLog and NEWS added by Karl.
Thanks to both of you!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.