From: Simon Ruderich Date: Tue, 20 Mar 2012 19:32:16 +0000 (+0100) Subject: Detect LINK non-verbose builds. X-Git-Tag: 0.01~83 X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=commitdiff_plain;h=176279c453afed1e0aab9db5283a92b1e92e1fb1 Detect LINK non-verbose builds. --- diff --git a/bin/blhc b/bin/blhc index f945586..7075ec8 100755 --- a/bin/blhc +++ b/bin/blhc @@ -166,7 +166,7 @@ sub is_non_verbose_build { my ($line, $next_line, $skip_ref) = @_; if (not ($line =~ /^checking if you want to see long compiling messages\.\.\. no/ - or $line =~ /^\s*\[?(?:CC|CCLD|CXX|CXXLD|LD)\]?\s+(.+?)$/ + or $line =~ /^\s*\[?(?:CC|CCLD|CXX|CXXLD|LD|LINK)\]?\s+(.+?)$/ or $line =~ /^\s*(?:C|c)ompiling\s+(.+?)(?:\.\.\.)?$/ or $line =~ /^\s*(?:B|b)uilding (?:program|shared library)\s+(.+?)$/ or $line =~ /^\s*\[[\d ]+%\] Building (?:C|CXX) object (.+?)$/)) { diff --git a/t/logs/verbose-build b/t/logs/verbose-build index b013028..835e7c5 100644 --- a/t/logs/verbose-build +++ b/t/logs/verbose-build @@ -16,6 +16,7 @@ checking whether compiling and linking against OpenSSL works... yes ... CCLD libtest.la + LINK libtest.la CXX libtest-a.lo CXX libtest-b.lo diff --git a/t/tests.t b/t/tests.t index 3c7e5b8..09c22f1 100644 --- a/t/tests.t +++ b/t/tests.t @@ -310,6 +310,7 @@ NONVERBOSE BUILD: CC libtest-b.lo NONVERBOSE BUILD: CC libtest_c.lo NONVERBOSE BUILD: CC libtest-d.lo NONVERBOSE BUILD: CCLD libtest.la +NONVERBOSE BUILD: LINK libtest.la NONVERBOSE BUILD: CXX libtest-a.lo NONVERBOSE BUILD: CXX libtest-b.lo NONVERBOSE BUILD: CXX libtest_c.lo