From: Florian K. <fl...@ei...> - 2024-12-07 21:23:08
|
Here is an updated patch which also removes .post.out files. Also, turns out, that .diff files can have a suffix as derived from the .exp file that was used in the comparison. Those get removed now as well. diff --git a/Makefile.am b/Makefile.am index b3e5be5f4..bace4a499 100644 --- a/Makefile.am +++ b/Makefile.am @@ -139,6 +139,16 @@ clean-local: rm -rf $(inplacedir) include/vgversion.h find . -name '*.vgtest.log' -print0 | xargs -r -0 rm find . -name '*.vgtest.trs' -print0 | xargs -r -0 rm + find . -name '*.stdout.out' -print0 | xargs -r -0 rm + find . -name '*.stderr.out' -print0 | xargs -r -0 rm + find . -name '*.stdoutB.out' -print0 | xargs -r -0 rm + find . -name '*.stderrB.out' -print0 | xargs -r -0 rm + find . -name '*.post.out' -print0 | xargs -r -0 rm + find . -name '*.stdout.diff*' -print0 | xargs -r -0 rm + find . -name '*.stderr.diff*' -print0 | xargs -r -0 rm + find . -name '*.stdoutB.diff*' -print0 | xargs -r -0 rm + find . -name '*.stderrB.diff*' -print0 | xargs -r -0 rm + find . -name '*.post.diff*' -print0 | xargs -r -0 rm find . -name test-suite.log -print0 | xargs -r -0 rm rm -f test-suite-overall.log On 02.12.24 22:00, Florian Krohm wrote: > The patch below removes artefacts from failing regression tests. > Specifically, "make distclean" and "make maintainer-clean" removes them. > Previously they were not removed which was a surprise. > post_regtest_checks does not appear to create any files that ought to be cleaned > up. > Thanks to Paul for pointing me to the file to change. > > Florian > > > diff --git a/Makefile.am b/Makefile.am > index b3e5be5f4..b584cb34b 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -139,6 +139,14 @@ clean-local: > rm -rf $(inplacedir) include/vgversion.h > find . -name '*.vgtest.log' -print0 | xargs -r -0 rm > find . -name '*.vgtest.trs' -print0 | xargs -r -0 rm > + find . -name '*.stdout.out' -print0 | xargs -r -0 rm > + find . -name '*.stderr.out' -print0 | xargs -r -0 rm > + find . -name '*.stdoutB.out' -print0 | xargs -r -0 rm > + find . -name '*.stderrB.out' -print0 | xargs -r -0 rm > + find . -name '*.stdout.diff' -print0 | xargs -r -0 rm > + find . -name '*.stderr.diff' -print0 | xargs -r -0 rm > + find . -name '*.stdoutB.diff' -print0 | xargs -r -0 rm > + find . -name '*.stderrB.diff' -print0 | xargs -r -0 rm > find . -name test-suite.log -print0 | xargs -r -0 rm > rm -f test-suite-overall.log > |