X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=t%2Ftests.t;h=60136066cb072ddba3d88c0b0067fbee2822e741;hb=5b6b8e2eddbb9e6590e59a84d160e5d23bc09a9a;hp=1d40f82750576a1bd7b98003b3d516553df2b2ab;hpb=dc76b3697c03b4f9f9a2ab3c354207a3f6db15bf;p=blhc%2Fblhc.git diff --git a/t/tests.t b/t/tests.t index 1d40f82..6013606 100644 --- a/t/tests.t +++ b/t/tests.t @@ -19,7 +19,7 @@ use strict; use warnings; -use Test::More tests => 66; +use Test::More tests => 68; sub is_blhc { @@ -280,6 +280,12 @@ LDFLAGS missing (-Wl,-z,now): gcc -shared -fPIC test.o -Wl,-z -Wl,relro -o .libs "; +# configure + +is_blhc 'configure', '', 0, + ''; + + # cc is_blhc 'cc', '--pie --bindnow', 4, @@ -306,6 +312,8 @@ CFLAGS missing (--param=ssp-buffer-size=4 -fPIE): c++ -g -O2 -fstack-protector - CFLAGS missing (-Werror=format-security -fPIE): c++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -c test-c.cpp CFLAGS missing (-fPIE): c++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-d.cc LDFLAGS missing (-Wl,-z,relro -fPIE -pie -Wl,-z,now): c++ -Wl,-z,defs -o test test-a.o test-b.o test-c.o test-d.o -ltest +CFLAGS missing (-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIE): c++\\ test.c +CPPFLAGS missing (-D_FORTIFY_SOURCE=2): c++\\ test.c ";