Add some #ifdef XML_TESTING to the libexpat tests.
authorbluhm <bluhm@openbsd.org>
Mon, 1 Apr 2024 13:46:06 +0000 (13:46 +0000)
committerbluhm <bluhm@openbsd.org>
Mon, 1 Apr 2024 13:46:06 +0000 (13:46 +0000)
commitf558d28695d824e33d67c19848925949c2c1fc36
treeb617217f35b4d2db45f6e51c22b98ee20cc6312f
parentc033f77099126ed63d6da1f62993cd1af88e58ab
Add some #ifdef XML_TESTING to the libexpat tests.

Upstream builds special libexpat objects for testing with an internal
flag and counter.  As OpenBSD does test the installed production
library, disable tests that depend on special options.  Use the
same define that activates the test code in the library.  Without
this, regress would not compile.
lib/libexpat/tests/basic_tests.c
lib/libexpat/tests/runtests.c