use strict;
use warnings;
-use Test::More tests => 104;
+use Test::More tests => 108;
sub is_blhc {
LDFLAGS missing (-Wl,-z,relro): gcc -o test test.o `dpkg-buildflags --get CFLAGS`
';
+is_blhc 'debian-cmake', '', 32,
+ 'INVALID CMAKE: 2.8.7-2
+';
+
my $debian_hardening_wrapper =
'HARDENING WRAPPER: no checks possible, aborting
';
'W-no-compiler-commands
';
+is_blhc 'debian-cmake', '--buildd', 32,
+ 'W-invalid-cmake-used 2.8.7-2
+';
+
# multiple files