From: Simon Ruderich Date: Tue, 17 Apr 2012 14:40:50 +0000 (+0200) Subject: Change "no-compiler-commands", "invalid-cmake-used" buildd tags to I-. X-Git-Tag: 0.03~21 X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=commitdiff_plain;h=737a0dd159dfba58a7e66fef5e49b731e3d9bbb2 Change "no-compiler-commands", "invalid-cmake-used" buildd tags to I-. --- diff --git a/bin/blhc b/bin/blhc index 1ba238c..6156b7d 100755 --- a/bin/blhc +++ b/bin/blhc @@ -227,11 +227,11 @@ my %exit_code = ( ); my %buildd_tag = ( - no_compiler_commands => 'W-no-compiler-commands', + no_compiler_commands => 'I-no-compiler-commands', non_verbose_build => 'W-compiler-flags-hidden', flags_missing => 'W-dpkg-buildflags-missing', hardening_wrapper => 'I-hardening-wrapper-used', - invalid_cmake => 'W-invalid-cmake-used', + invalid_cmake => 'I-invalid-cmake-used', ); # Statistics of missing flags and non-verbose build commands. Used for @@ -1161,11 +1161,11 @@ CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS missing. =item -B (version) +B (version) =item -B +B No compiler commands were detected. Either the log contains none or they were not correctly detected by blhc (please report the bug in this case). diff --git a/t/tests.t b/t/tests.t index 8a0fa2d..eff3d2b 100644 --- a/t/tests.t +++ b/t/tests.t @@ -705,7 +705,7 @@ is_blhc 'false-positives', '', 1, # buildd support is_blhc 'empty', '--buildd', 1, - 'W-no-compiler-commands + 'I-no-compiler-commands '; is_blhc 'buildd-package-details', '--buildd', 0, @@ -732,11 +732,11 @@ is_blhc 'buildd-verbose-build', '--buildd', 4, '; is_blhc 'make', '--buildd', 1, - 'W-no-compiler-commands + 'I-no-compiler-commands '; is_blhc 'debian-cmake', '--buildd', 32, - 'W-invalid-cmake-used 2.8.7-1 + 'I-invalid-cmake-used 2.8.7-1 ';