mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
Merge pull request #3232 from eduar-hte/failed-unit-tests-automake-output
Unit tests results should not be displayed in 'automake output' mode
This commit is contained in:
commit
97c8766ef1
@ -21,6 +21,7 @@ simple_request_LDFLAGS = \
|
||||
-L$(top_builddir)/src/.libs/ \
|
||||
$(GEOIP_LDFLAGS) \
|
||||
-lmodsecurity \
|
||||
-lpthread \
|
||||
-lm \
|
||||
-lstdc++ \
|
||||
$(LMDB_LDFLAGS) \
|
||||
|
@ -21,7 +21,6 @@ read_LDFLAGS = \
|
||||
-L$(top_builddir)/src/.libs/ \
|
||||
$(GEOIP_LDFLAGS) \
|
||||
-lmodsecurity \
|
||||
-lpthread \
|
||||
-lm \
|
||||
-lstdc++ \
|
||||
$(LMDB_LDFLAGS) \
|
||||
|
@ -275,10 +275,10 @@ int main(int argc, char **argv) {
|
||||
|
||||
if (!test.m_automake_output) {
|
||||
std::cout << "Total >> " << total << std::endl;
|
||||
}
|
||||
|
||||
for (const auto t : results) {
|
||||
std::cout << t->print() << std::endl;
|
||||
for (const auto t : results) {
|
||||
std::cout << t->print() << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
const int skp = std::count_if(results.cbegin(), results.cend(), [](const auto &i)
|
||||
|
Loading…
x
Reference in New Issue
Block a user