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:
Ervin Hegedus 2024-08-26 21:47:32 +02:00 committed by GitHub
commit 97c8766ef1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -21,6 +21,7 @@ simple_request_LDFLAGS = \
-L$(top_builddir)/src/.libs/ \
$(GEOIP_LDFLAGS) \
-lmodsecurity \
-lpthread \
-lm \
-lstdc++ \
$(LMDB_LDFLAGS) \

View File

@ -21,7 +21,6 @@ read_LDFLAGS = \
-L$(top_builddir)/src/.libs/ \
$(GEOIP_LDFLAGS) \
-lmodsecurity \
-lpthread \
-lm \
-lstdc++ \
$(LMDB_LDFLAGS) \

View File

@ -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)