From: Arkadiusz Miƛkiewicz Date: Sun, 24 May 2015 20:17:47 +0000 (+0200) Subject: Catch errors like 'CMakeFiles/Makefile2:991: recipe for target 'nepomuk/CMakeFiles... X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=3aa6202cf5cb1d9f17c36b60ef8e481b9a9b1bc5;p=projects%2Fbuildlogs.git Catch errors like 'CMakeFiles/Makefile2:991: recipe for target 'nepomuk/CMakeFiles/nepomuk.dir/all' failed' --- diff --git a/index.php b/index.php index d358384..3397013 100644 --- a/index.php +++ b/index.php @@ -374,7 +374,7 @@ function dump_log($tail) $toc_elem = "error $err_count"; $err_elem = $s; $s = "$s"; - } elseif (preg_match("/(?:undefined reference to)/i", $s)) { + } elseif (preg_match("/(?:undefined reference to|recipe for target '.*?' failed)/i", $s)) { $first_cut = true; $err_count++; $toc_elem = "error $err_count";