poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] testsuite/Makefile.am: Remove INPUTRC file after executing t


From: Jose E. Marchesi
Subject: Re: [PATCH] testsuite/Makefile.am: Remove INPUTRC file after executing tests
Date: Mon, 25 Jan 2021 10:42:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hi Mohammad.

> 2021-01-25  Mohammad-Reza Nabipoor  <m.nabipoor@yahoo.com>
>
>       * testsuite/Makefile.am (check-DEJAGNU): Fix `make distcheck`
>       failure by removing the INPUTRC file after running the tests.
> ---
>  ChangeLog             | 5 +++++
>  testsuite/Makefile.am | 1 +
>  2 files changed, 6 insertions(+)
>
> diff --git a/ChangeLog b/ChangeLog
> index be7c6be8..a92820ce 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,8 @@
> +2021-01-25  Mohammad-Reza Nabipoor  <m.nabipoor@yahoo.com>
> +
> +     * testsuite/Makefile.am (check-DEJAGNU): Fix `make distcheck`
> +     failure by removing the INPUTRC file after running the tests.
> +
>  2021-01-24  Mohammad-Reza Nabipoor  <m.nabipoor@yahoo.com>
>  
>       * testsuite/Makefile.am (check-DEJAGNU): Set INPUTRC. Use custom
> diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
> index 140eef95..05d2b49d 100644
> --- a/testsuite/Makefile.am
> +++ b/testsuite/Makefile.am
> @@ -36,6 +36,7 @@ check-DEJAGNU: site.exp
>               $$runtest --tool $(DEJATOOL) --srcdir $${srcdir} --objdir 
> $(builddir) \
>                          SHELL="$(SHELL)" \
>                       $(RUNTESTFLAGS); \
> +             $(RM) $(top_builddir)/inputrc; \
>       else \
>         >&2 echo "WARNING: could not find \`runtest'"; \
>         exit 77; :;\

This is OK for master.
(An alternative is to list the file in DISTCLEANFILES.)

Thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]