]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - t/tests.t
Check for CMake version which obeyed CPPFLAGS.
[blhc/blhc.git] / t / tests.t
index 0d9281a583003b4f28d58624e00a9c9c5317119a..a4ccf604757fccd969d96b6e95abdfb59bd40f97 100644 (file)
--- 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