1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-02-04 01:47:02 +03:00

Move doc/examples tests to new test suite

This commit is contained in:
Nick Wellnhofer 2022-04-04 05:57:07 +02:00
parent 3f74e42bae
commit e59aa6cab4
2 changed files with 3 additions and 5 deletions

View File

@ -182,10 +182,8 @@ 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)
# Old test suite. This should be ported to C.
tests: $(TEST_DEBUG) $(TEST_CATALOG) $(TEST_REGEXPS) $(TEST_SCHEMATRON) Timingtests $(TEST_VTIME) $(PYTHON_TESTS)
@(if [ "$(PYTHON_SUBDIR)" != "" ] ; then cd python ; \
$(MAKE) -s tests ; fi)
@(cd doc/examples ; $(MAKE) -s tests)
Scripttests : xmllint$(EXEEXT)
@(echo > .memdump)

View File

@ -91,9 +91,9 @@ xpath1_SOURCES = xpath1.c
xpath2_SOURCES = xpath2.c
valgrind:
$(MAKE) CHECKER='valgrind' tests
$(MAKE) CHECKER='valgrind' check
tests: $(check_PROGRAMS)
check-local:
@test -f Makefile.am || test -f test1.xml || $(LN_S) $(srcdir)/test?.xml .
@(echo '## examples regression tests')
@(echo > .memdump)