]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - t/tests.t
Fix --arch, missing '=s' in GetOptions().
[blhc/blhc.git] / t / tests.t
index 3b9c332292db849b0a7b9e88b0e7cd2e2305b22b..6b23f06d74f586275aebab9c268343d9b6bb44d6 100644 (file)
--- a/t/tests.t
+++ b/t/tests.t
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 90;
+use Test::More tests => 92;
 
 
 sub is_blhc {
@@ -535,6 +535,13 @@ is_blhc 'arch-mipsel', '', 8,
 LDFLAGS missing (-Wl,-z,relro): gcc -Wl,-z,now -o test test.o
 ';
 
+is_blhc 'arch-ia64', '--arch i386', 8,
+        'CFLAGS missing (-fstack-protector --param=ssp-buffer-size=4): gcc -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -Wformat -Wformat-security -Werror=format-security -Wall -c test.c
+LDFLAGS missing (-Wl,-z,relro): gcc -fPIE -pie -o test test.o
+CFLAGS missing (-fPIE -fstack-protector --param=ssp-buffer-size=4): gcc -D_FORTIFY_SOURCE=2 -g -O2 -Wformat -Wformat-security -Werror=format-security -Wall -c test.c
+LDFLAGS missing (-pie -Wl,-z,relro): gcc -fPIE -o test test.o
+';
+
 
 # debian