X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=t%2Ftests.t;h=cfe2f9dbb082724ddf068ca4f48f3b4564feaf81;hp=62fef677c726afce55c3055fbd01dd36247d8409;hb=f0ae7b1580cd26bcf44dc5b780f1c2e081314479;hpb=fd3dc1d84936f1622c296035af410fb75ac0f493 diff --git a/t/tests.t b/t/tests.t index 62fef67..cfe2f9d 100644 --- a/t/tests.t +++ b/t/tests.t @@ -19,7 +19,7 @@ use strict; use warnings; -use Test::More tests => 132; +use Test::More tests => 136; sub is_blhc { @@ -633,6 +633,25 @@ LDFLAGS missing (-pie -Wl,-z,relro): gcc -fPIE -o test test.o '; +# ignore architecture + +is_blhc ['arch-avr32', 'arch-i386', 'empty', 'arch-mipsel'], + '--ignore-arch avr32 --ignore-arch mipsel', + 9, + "checking './t/logs/arch-avr32'...\n" + . "ignoring architecture 'avr32'\n" + . "checking './t/logs/arch-i386'...\n" + . $arch_i386 + . "checking './t/logs/empty'...\n" + . $empty + . "checking './t/logs/arch-mipsel'...\n" + . "ignoring architecture 'mipsel'\n" + ; + +is_blhc 'buildd-dpkg-dev', '--ignore-arch i386', 0, + "ignoring architecture 'i386'\n"; + + # debian is_blhc 'debian', '', 8,