From 0e47a6cb81a01a25d0a57da6cd3a48786d506185 Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Thu, 31 Mar 2016 23:44:45 +0200 Subject: [PATCH 1/2] [report] Handle msvc7 cerr failure. --- reports/src/add_expected_results.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/src/add_expected_results.cpp b/reports/src/add_expected_results.cpp index 4a3f7ea..6bfab81 100644 --- a/reports/src/add_expected_results.cpp +++ b/reports/src/add_expected_results.cpp @@ -229,7 +229,7 @@ void process_test_log(test_structure_t::test_log_t& test_log, BOOST_ASSERT(it->second.contents); boost::string_ref val(it->second.contents->value(), it->second.contents->value_size()); - if ( find_regex(val, "([Ii]nternal error)|([Ii]nternal compiler error)|([Ss]egmentation fault)|(unable to execute command: Aborted)") ) { + if ( find_regex(val, "([Ii]nternal error)|((?i)Internal compiler error(?-i))|([Ss]egmentation fault)|(unable to execute command: Aborted)") ) { test_log.fail_info = test_structure_t::fail_cerr; } else if ( find_regex(val, "second time limit exceeded") ) { test_log.fail_info = test_structure_t::fail_time; From ec734642c00767d6960e0e97ac2c0076f151f0b5 Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Fri, 1 Apr 2016 00:02:54 +0200 Subject: [PATCH 2/2] [report] Handle additional darwin/clang cerr failure. --- reports/src/add_expected_results.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/src/add_expected_results.cpp b/reports/src/add_expected_results.cpp index 6bfab81..aa9145d 100644 --- a/reports/src/add_expected_results.cpp +++ b/reports/src/add_expected_results.cpp @@ -229,7 +229,7 @@ void process_test_log(test_structure_t::test_log_t& test_log, BOOST_ASSERT(it->second.contents); boost::string_ref val(it->second.contents->value(), it->second.contents->value_size()); - if ( find_regex(val, "([Ii]nternal error)|((?i)Internal compiler error(?-i))|([Ss]egmentation fault)|(unable to execute command: Aborted)") ) { + if ( find_regex(val, "([Ii]nternal error)|((?i)Internal compiler error(?-i))|([Ss]egmentation fault)|(unable to execute command: Abort)") ) { test_log.fail_info = test_structure_t::fail_cerr; } else if ( find_regex(val, "second time limit exceeded") ) { test_log.fail_info = test_structure_t::fail_time;