2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-19 04:42:17 +00:00

Handle windows newlines in test output

This commit is contained in:
Daniel James
2018-07-11 00:14:45 +01:00
parent 4a8ef7b616
commit 03286dad0b

View File

@@ -82,6 +82,7 @@ function load_testers($branch) {
}
foreach($test_results as $test_result) {
$test_result = preg_replace('@\r\n?@', "\n", $test_result);
$test_result_parts = explode('*********************************************************************', $test_result);
$compiler_info = trim($test_result_parts[0]);
if (!preg_match('@^(.*)version[ \t]*([0-9.]+)(?:[- ]+.*)?$@m', $compiler_info, $match)) {