X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=t%2Ftests.t;h=a4ccf604757fccd969d96b6e95abdfb59bd40f97;hp=0d9281a583003b4f28d58624e00a9c9c5317119a;hb=c3edfcb8350482755554fea4bcf45973f02137f8;hpb=aa0da48a68484b4656e97251de39086d0a80137d diff --git a/t/tests.t b/t/tests.t index 0d9281a..a4ccf60 100644 --- a/t/tests.t +++ b/t/tests.t @@ -19,7 +19,7 @@ use strict; use warnings; -use Test::More tests => 104; +use Test::More tests => 108; sub is_blhc { @@ -565,6 +565,10 @@ CPPFLAGS missing (-D_FORTIFY_SOURCE=2): gcc -c `dpkg-buildflags --get LDFLAGS` t 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 '; @@ -597,6 +601,10 @@ is_blhc 'make', '--buildd', 1, 'W-no-compiler-commands '; +is_blhc 'debian-cmake', '--buildd', 32, + 'W-invalid-cmake-used 2.8.7-2 +'; + # multiple files