[libxml2] Cleanup files generated by test suite



commit d20df9d864ec4982acb39e13b42769c4ecc29c44
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Wed Aug 17 12:01:04 2022 +0200

    Cleanup files generated by test suite
    
    Fixes make distcheck.

 Makefile.am              | 3 +++
 doc/examples/Makefile.am | 1 +
 2 files changed, 4 insertions(+)
---
diff --git a/Makefile.am b/Makefile.am
index a230f672..cb1a0757 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -182,6 +182,9 @@ asan:
        @echo '## rebuilding for ASAN'
        ./configure CFLAGS="-fsanitize=address,undefined -Wformat -Werror=format-security 
-Werror=array-bounds -g" CXXFLAGS="-fsanitize=address,undefined -Wformat -Werror=format-security 
-Werror=array-bounds -g" LDFLAGS="-fsanitize=address,undefined" CC="clang" CXX="clang++" --disable-shared ; 
OptimOff  ; $(MAKE) clean ; $(MAKE)
 
+clean-local:
+       rm -f missing.xml # created by testapi
+
 # Old test suite. This should be ported to C.
 tests: $(TEST_DEBUG) $(TEST_CATALOG) $(TEST_REGEXPS) $(TEST_SCHEMATRON) Timingtests $(TEST_VTIME) 
$(PYTHON_TESTS)
 
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
index 94a41401..75e138be 100644
--- a/doc/examples/Makefile.am
+++ b/doc/examples/Makefile.am
@@ -22,6 +22,7 @@ uninstall-local:
 
 clean-local:
        test -f Makefile.am || rm -f test?.xml
+       rm -f .memdump
 
 EXTRA_DIST = \
        examples.xml \


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