We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dcec58 commit c8cb8a2Copy full SHA for c8cb8a2
scripts/gen-dashboard.php
@@ -26,13 +26,12 @@
26
foreach ($test_failures as $test) {
27
if (!preg_match('@'.$test.'\' FAILED \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\n'.
28
'Exit Code:[^\n]+\n\n'.
29
- '(?:Command Output \(stdout\):\n--.*?\n--\n)?'.
30
- 'Command Output \(stderr\):\n--(.*?)\n--\n@Ss', $dump, $m)) {
+ 'Command Output \(stdout\):\n--.*?\n--\n@Ss', $dump, $m)) {
31
die("Failed to get data for $test\n");
32
}
33
34
- $err = $m[1];
35
- $stderr = store_log(preg_replace('/Report written to \S+/S', '', $err));
+ $err = $m[0];
+ $stderr = store_log(preg_replace('/^.*Report written to .*\n/Sm', '', $err));
36
$func = null;
37
38
preg_match('/Report written to "(\S+)"/S', $err, $m);
0 commit comments