X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=t%2Ftests.t;h=3bbd62993f92e6d34c7a1eae88871205d99e75b9;hp=1f68cd4a4fea426ef54767201baf10ebaed5d8a5;hb=3e7cbdd4d5a13ed64e957f1c89f106113a8f6a2c;hpb=6ab8b0da4793ac24bcc01834955f0a1852350dbb diff --git a/t/tests.t b/t/tests.t index 1f68cd4..3bbd629 100644 --- a/t/tests.t +++ b/t/tests.t @@ -19,7 +19,7 @@ use strict; use warnings; -use Test::More tests => 192; +use Test::More tests => 194; sub is_blhc { @@ -519,6 +519,9 @@ CPPFLAGS missing (-D_FORTIFY_SOURCE=2): gcc -D_FORTIFY_SOURCE=0 -g -O2 -fstack-p CPPFLAGS missing (-D_FORTIFY_SOURCE=2): gcc -D_FORTIFY_SOURCE=1 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-f.c '; +is_blhc 'bad-cppflags', '--ignore-flag -D_FORTIFY_SOURCE=2', 0, + ''; + my $bad_ldflags = 'LDFLAGS missing (-Wl,-z,relro): gcc -o test test-a.o test-b.o test-c.o -ltest ';