Individual test result should not be printed for automake output

- Test results output escape characters to highlight whether the test
  passed or failed. Additionally, the input & output for each test can
  include non-ASCII characters. These characters break parsing of
  results (.log & .trs files) with grep, as the files are interpreted
  to be binary.
This commit is contained in:
Eduardo Arias 2024-08-17 22:36:30 +00:00
parent 752ab76238
commit a5f223cb52

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)