[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: change in tests requires running autogen.sh
From: |
Gavin Smith |
Subject: |
Re: change in tests requires running autogen.sh |
Date: |
Wed, 4 Jan 2023 20:40:38 +0000 |
On Wed, Jan 04, 2023 at 09:09:47PM +0100, Patrice Dumas wrote:
> On Wed, Jan 04, 2023 at 07:44:57PM +0000, Gavin Smith wrote:
> > $ ls t/results/indices/index_table/out_plaintext/index_table.txt/
> > indices-refs.txt node-with-printindex.txt
> > node-with-ftable-and-vtable.txt Top.txt
> >
> > After I do
> >
> > $ rm -r t/results/indices/index_table/out_plaintext/
> >
> > the test passes. These must have been stale results from an older
> > version of the test.
>
> Indeed, there was an issue with split plaintext tests which were created
> in a directory named like the test with .txt instead of directly in
> res_plaintext. It was fixed by this commit:
> https://git.savannah.gnu.org/cgit/texinfo.git/commit/?id=60d33bf4e26889987486dd5d79a0a25bb72e3c09
>
> But the stale directories may need to be removed manually.
I personally removed them with
find . -type d -name '*.txt' | perl -wple 's/^/rm -r /' > tmp
cat tmp
. tmp
although there are probably better ways.