]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - t/tests.t
Add test for possible false-negative in configure check.
[blhc/blhc.git] / t / tests.t
index f35e5eac4bd73a18cccd354354098da9a55ca2e4..1b3b72b2c3c1b77861d3734cf5e88febdf8ddaa1 100644 (file)
--- a/t/tests.t
+++ b/t/tests.t
@@ -1,6 +1,6 @@
 # Tests for blhc.
 #
-# Copyright (C) 2012  Simon Ruderich
+# Copyright (C) 2012-2013  Simon Ruderich
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 204;
+use Test::More tests => 206;
 
 
 sub is_blhc {
@@ -61,7 +61,7 @@ is_blhc '', '', 2,
         $usage;
 
 is_blhc '', '--version', 0,
-        'blhc 0.03  Copyright (C) 2012  Simon Ruderich
+        'blhc 0.04  Copyright (C) 2012-2013  Simon Ruderich
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -651,6 +651,10 @@ CFLAGS missing (-Werror=format-security): cd /tmp/test/src && /usr/bin/gcc -g -O
 is_blhc 'configure', '', 1,
         $empty;
 
+is_blhc 'configure-check', '', 4,
+        'NONVERBOSE BUILD:   CC              = gcc -std=gnu99 -std=gnu99 test.c
+';
+
 is_blhc 'make', '', 1,
         $empty;