X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=t%2Ftests.t;h=3b9c332292db849b0a7b9e88b0e7cd2e2305b22b;hb=f939b4685a7cb1e1003fbd81a4f136c254b554a4;hp=c462cfcc7e6d3a9f382fe51ae48cd7bc293f67d7;hpb=5072df676d796709e34af7dd8d6797dec1d946b2;p=blhc%2Fblhc.git diff --git a/t/tests.t b/t/tests.t index c462cfc..3b9c332 100644 --- a/t/tests.t +++ b/t/tests.t @@ -19,7 +19,7 @@ use strict; use warnings; -use Test::More tests => 88; +use Test::More tests => 90; sub is_blhc { @@ -40,17 +40,16 @@ sub is_blhc { is_blhc 'empty', '--invalid', 2, 'Unknown option: invalid Usage: - blhc [-h -? --help] + blhc [options] - blhc [--pie] [--bindnow] [--all] - - --help available options - --version version number and license - --pie force +pie check - --bindnow force +bindbow check --all force +all (+pie, +bindnow) check --arch set architecture (autodetected) + --bindnow force +bindbow check --buildd parser mode for buildds + --color use colored output + --pie force +pie check + --help available options + --version version number and license '; @@ -397,12 +396,17 @@ CFLAGS missing (-Werror=format-security): cd /tmp/test/src && /usr/bin/gcc -g -O '; -# configure +# configure/make is_blhc 'configure', '', 1, 'No compiler commands! '; +is_blhc 'make', '', 1, + 'No compiler commands! +'; + + # cc