mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Added support to run regression tests without libxml2
- Annotated regression tests that depend on libxml2 support - Added Windows build without libxml2
This commit is contained in:
@@ -486,15 +486,12 @@ int main(int argc, char **argv) {
|
||||
#if defined(WITH_GEOIP) or defined(WITH_MAXMIND)
|
||||
resources.push_back("geoip-or-maxmind");
|
||||
#endif
|
||||
|
||||
#if defined(WITH_MAXMIND)
|
||||
resources.push_back("maxmind");
|
||||
#endif
|
||||
|
||||
#if defined(WITH_GEOIP)
|
||||
resources.push_back("geoip");
|
||||
#endif
|
||||
|
||||
#ifdef WITH_CURL
|
||||
resources.push_back("curl");
|
||||
#endif
|
||||
@@ -504,6 +501,9 @@ int main(int argc, char **argv) {
|
||||
#ifdef WITH_LUA
|
||||
resources.push_back("lua");
|
||||
#endif
|
||||
#ifdef WITH_LIBXML2
|
||||
resources.push_back("libxml2");
|
||||
#endif
|
||||
|
||||
#ifdef NO_LOGS
|
||||
std::cout << "Test utility cannot work without logging support." \
|
||||
|
Reference in New Issue
Block a user