]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - t/tests.t
Use tag W-no-compiler-commands in buildd mode.
[blhc/blhc.git] / t / tests.t
index f1102a9848c688fdb82643eceb5d807670d13996..bb8471b60c5f0608e46bbb82e8875ea8fc22610e 100644 (file)
--- a/t/tests.t
+++ b/t/tests.t
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 100;
+use Test::More tests => 102;
 
 
 sub is_blhc {
@@ -46,16 +46,7 @@ sub is_blhc {
 is_blhc 'empty', '--invalid', 2,
         'Unknown option: invalid
 Usage:
-    blhc [options] <dpkg-buildpackage build log file>..
-
-        --all                   force +all (+pie, +bindnow) check
-        --arch                  set architecture (autodetected)
-        --bindnow               force +bindbow check
-        --buildd                parser mode for buildds
-        --color                 use colored output
-        --pie                   force +pie check
-        --help                  available options
-        --version               version number and license
+    blhc [*options*] *<dpkg-buildpackage build log file>..*
 
 ';
 
@@ -582,6 +573,10 @@ is_blhc 'debian-hardening-wrapper', '', 16,
 
 # buildd support
 
+is_blhc 'empty', '--buildd', 1,
+        'W-no-compiler-commands
+';
+
 is_blhc 'buildd-package-details', '--buildd', 0,
         '';