X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=t%2Ftests.t;h=3ef7cd1d8a85b86021afee7320faf634252afcfd;hp=a1b80126f4e5dac114503965a54f9ba2a92c0e09;hb=af102498dd22f108a466fe3830648d7705384f28;hpb=93540e07ace91544bd5e72f509d6b83744d98e07 diff --git a/t/tests.t b/t/tests.t index a1b8012..3ef7cd1 100644 --- a/t/tests.t +++ b/t/tests.t @@ -19,7 +19,7 @@ use strict; use warnings; -use Test::More tests => 138; +use Test::More tests => 140; sub is_blhc { @@ -57,7 +57,7 @@ is_blhc '', '', 2, $usage; is_blhc '', '--version', 0, - 'blhc 0.01 Copyright (C) 2012 Simon Ruderich + 'blhc 0.02 Copyright (C) 2012 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 @@ -97,6 +97,8 @@ is_blhc 'ignore-flag', '--ignore-flag -g', 8, is_blhc 'ignore-flag', '--ignore-flag -g --ignore-flag -O2', 0, ''; +is_blhc 'ignore-flag-ldflags', '--ignore-flag -fPIE', 0, + ''; # Ignore certain lines. @@ -705,7 +707,7 @@ is_blhc 'false-positives', '', 1, # buildd support is_blhc 'empty', '--buildd', 1, - 'W-no-compiler-commands + 'I-no-compiler-commands '; is_blhc 'buildd-package-details', '--buildd', 0, @@ -732,11 +734,11 @@ is_blhc 'buildd-verbose-build', '--buildd', 4, '; is_blhc 'make', '--buildd', 1, - 'W-no-compiler-commands + 'I-no-compiler-commands '; is_blhc 'debian-cmake', '--buildd', 32, - 'W-invalid-cmake-used 2.8.7-1 + 'I-invalid-cmake-used 2.8.7-1 ';