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:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user