[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1] Fix misuse of DejaGnu in Automake testsuite
From: |
Jim Meyering |
Subject: |
Re: [PATCH v1] Fix misuse of DejaGnu in Automake testsuite |
Date: |
Thu, 15 Jul 2021 21:48:13 -0700 |
On Tue, Jul 13, 2021 at 9:39 PM Jacob Bachmeyer <jcb62281@gmail.com> 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!