| OLD | NEW |
| 1 ## Process this file with automake to produce Makefile.in | 1 ## Process this file with automake to produce Makefile.in |
| 2 | 2 |
| 3 ACLOCAL_AMFLAGS = -I m4 | 3 ACLOCAL_AMFLAGS = -I m4 |
| 4 | 4 |
| 5 SUBDIRS = include . doc example xstc $(PYTHON_SUBDIR) | 5 SUBDIRS = include . doc example xstc $(PYTHON_SUBDIR) |
| 6 | 6 |
| 7 DIST_SUBDIRS = include . doc example python xstc | 7 DIST_SUBDIRS = include . doc example python xstc |
| 8 | 8 |
| 9 AM_CPPFLAGS = -I$(top_builddir)/include -I$(srcdir)/include | 9 AM_CPPFLAGS = -I$(top_builddir)/include -I$(srcdir)/include |
| 10 | 10 |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 @(if [ "$(PYTHON_SUBDIR)" != "" ] ; then cd python ; \ | 209 @(if [ "$(PYTHON_SUBDIR)" != "" ] ; then cd python ; \ |
| 210 $(MAKE) tests ; fi) | 210 $(MAKE) tests ; fi) |
| 211 | 211 |
| 212 check: all runtests | 212 check: all runtests |
| 213 | 213 |
| 214 check-valgrind valgrind: all | 214 check-valgrind valgrind: all |
| 215 @echo '## Running the regression tests under Valgrind' | 215 @echo '## Running the regression tests under Valgrind' |
| 216 @echo '## Go get a cup of coffee it is gonna take a while ...' | 216 @echo '## Go get a cup of coffee it is gonna take a while ...' |
| 217 $(MAKE) CHECKER='valgrind -q' runtests | 217 $(MAKE) CHECKER='valgrind -q' runtests |
| 218 | 218 |
| 219 asan: |
| 220 @echo '## rebuilding for ASAN' |
| 221 ./configure CFLAGS="-fsanitize=address,undefined -Wformat -Werror=format
-security -Werror=array-bounds -g" CXXFLAGS="-fsanitize=address,undefined -Wform
at -Werror=format-security -Werror=array-bounds -g" LDFLAGS="-fsanitize=address,
undefined" CC="clang" CXX="clang++" --disable-shared ; OptimOff ; $(MAKE) clean
; $(MAKE) |
| 222 |
| 219 testall : tests SVGtests SAXtests | 223 testall : tests SVGtests SAXtests |
| 220 | 224 |
| 221 tests: XMLtests XMLenttests NStests IDtests Errtests APItests $(READER_TEST) $(T
EST_SAX) $(TEST_PUSH) $(TEST_HTML) $(TEST_PHTML) $(TEST_VALID) URItests $(TEST_P
ATTERN) $(TEST_XPATH) $(TEST_XPTR) $(TEST_XINCLUDE) $(TEST_C14N) $(TEST_DEBUG) $
(TEST_CATALOG) $(TEST_REGEXPS) $(TEST_SCHEMAS) $(TEST_SCHEMATRON) $(TEST_THREADS
) Timingtests $(TEST_VTIME) $(PYTHON_TESTS) $(TEST_MODULES) | 225 tests: XMLtests XMLenttests NStests IDtests Errtests APItests $(READER_TEST) $(T
EST_SAX) $(TEST_PUSH) $(TEST_HTML) $(TEST_PHTML) $(TEST_VALID) URItests $(TEST_P
ATTERN) $(TEST_XPATH) $(TEST_XPTR) $(TEST_XINCLUDE) $(TEST_C14N) $(TEST_DEBUG) $
(TEST_CATALOG) $(TEST_REGEXPS) $(TEST_SCHEMAS) $(TEST_SCHEMATRON) $(TEST_THREADS
) Timingtests $(TEST_VTIME) $(PYTHON_TESTS) $(TEST_MODULES) |
| 222 @(if [ "$(PYTHON_SUBDIR)" != "" ] ; then cd python ; \ | 226 @(if [ "$(PYTHON_SUBDIR)" != "" ] ; then cd python ; \ |
| 223 $(MAKE) tests ; fi) | 227 $(MAKE) tests ; fi) |
| 224 @(cd doc/examples ; $(MAKE) tests) | 228 @(cd doc/examples ; $(MAKE) tests) |
| 225 | 229 |
| 226 APItests: testapi$(EXEEXT) | 230 APItests: testapi$(EXEEXT) |
| 227 @echo "## Running the API regression tests this may take a little while" | 231 @echo "## Running the API regression tests this may take a little while" |
| 228 -@($(CHECKER) $(top_builddir)/testapi -q) | 232 -@($(CHECKER) $(top_builddir)/testapi -q) |
| (...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1200 | 1204 |
| 1201 confexecdir=$(libdir) | 1205 confexecdir=$(libdir) |
| 1202 confexec_DATA = xml2Conf.sh | 1206 confexec_DATA = xml2Conf.sh |
| 1203 CVS_EXTRA_DIST= | 1207 CVS_EXTRA_DIST= |
| 1204 EXTRA_DIST = xml2-config.in xml2Conf.sh.in libxml.spec.in libxml2.spec \ | 1208 EXTRA_DIST = xml2-config.in xml2Conf.sh.in libxml.spec.in libxml2.spec \ |
| 1205 libxml.m4 Copyright check-xml-test-suite.py gentest.py \ | 1209 libxml.m4 Copyright check-xml-test-suite.py gentest.py \ |
| 1206 check-relaxng-test-suite.py check-relaxng-test-suite2.py \ | 1210 check-relaxng-test-suite.py check-relaxng-test-suite2.py \ |
| 1207 check-xsddata-test-suite.py check-xinclude-test-suite.py \ | 1211 check-xsddata-test-suite.py check-xinclude-test-suite.py \ |
| 1208 example/Makefile.am example/gjobread.c example/gjobs.xml \ | 1212 example/Makefile.am example/gjobread.c example/gjobs.xml \ |
| 1209 $(man_MANS) libxml-2.0.pc.in libxml-2.0-uninstalled.pc.in \ | 1213 $(man_MANS) libxml-2.0.pc.in libxml-2.0-uninstalled.pc.in \ |
| 1210 » libxml2-config.cmake.in \ | 1214 » libxml2-config.cmake.in autogen.sh \ |
| 1211 trionan.c trionan.h triostr.c triostr.h trio.c trio.h \ | 1215 trionan.c trionan.h triostr.c triostr.h trio.c trio.h \ |
| 1212 triop.h triodef.h libxml.h elfgcchack.h xzlib.h buf.h \ | 1216 triop.h triodef.h libxml.h elfgcchack.h xzlib.h buf.h \ |
| 1213 enc.h save.h testThreadsWin32.c genUnicode.py TODO_SCHEMAS \ | 1217 enc.h save.h testThreadsWin32.c genUnicode.py TODO_SCHEMAS \ |
| 1214 dbgen.pl dbgenattr.pl regressions.py regressions.xml \ | 1218 dbgen.pl dbgenattr.pl regressions.py regressions.xml \ |
| 1215 README.tests Makefile.tests libxml2.syms timsort.h \ | 1219 README.tests Makefile.tests libxml2.syms timsort.h \ |
| 1216 $(CVS_EXTRA_DIST) | 1220 $(CVS_EXTRA_DIST) |
| 1217 | 1221 |
| 1218 | 1222 |
| 1219 pkgconfigdir = $(libdir)/pkgconfig | 1223 pkgconfigdir = $(libdir)/pkgconfig |
| 1220 pkgconfig_DATA = libxml-2.0.pc | 1224 pkgconfig_DATA = libxml-2.0.pc |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1270 mkdir $(top_builddir)/coverage | 1274 mkdir $(top_builddir)/coverage |
| 1271 $(LCOV) -c -o $(top_builddir)/coverage/libxml2.info.tmp -d $(top_srcdir) | 1275 $(LCOV) -c -o $(top_builddir)/coverage/libxml2.info.tmp -d $(top_srcdir) |
| 1272 $(LCOV) -r $(top_builddir)/coverage/libxml2.info.tmp -o $(top_builddir)/
coverage/libxml2.info *usr* | 1276 $(LCOV) -r $(top_builddir)/coverage/libxml2.info.tmp -o $(top_builddir)/
coverage/libxml2.info *usr* |
| 1273 rm $(top_builddir)/coverage/libxml2.info.tmp | 1277 rm $(top_builddir)/coverage/libxml2.info.tmp |
| 1274 $(GENHTML) -s -t "libxml2" -o $(top_builddir)/coverage --legend $(top_bu
ilddir)/coverage/libxml2.info | 1278 $(GENHTML) -s -t "libxml2" -o $(top_builddir)/coverage --legend $(top_bu
ilddir)/coverage/libxml2.info |
| 1275 echo "Coverage report is in $(top_builddir)/coverage/index.html" | 1279 echo "Coverage report is in $(top_builddir)/coverage/index.html" |
| 1276 | 1280 |
| 1277 clean-cov: | 1281 clean-cov: |
| 1278 rm -rf $(top_builddir)/coverage | 1282 rm -rf $(top_builddir)/coverage |
| 1279 | 1283 |
| OLD | NEW |