X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=t%2Ftests.t;h=cfe2f9dbb082724ddf068ca4f48f3b4564feaf81;hp=c6906e2a59aaaa5a304f68264e5341d07d90a2a9;hb=f0ae7b1580cd26bcf44dc5b780f1c2e081314479;hpb=d6333e474554290abc21a27bbd1de7e0be1a4e10 diff --git a/t/tests.t b/t/tests.t index c6906e2..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 { @@ -454,6 +454,8 @@ NONVERBOSE BUILD: [LD] src/test.o NONVERBOSE BUILD: CC modules/server/test.c NONVERBOSE BUILD: C++ test/test.o NONVERBOSE BUILD: C++ test.cpp +NONVERBOSE BUILD: Building program ../build/bin/test +NONVERBOSE BUILD: Compiling test/test.cc to ../build/test/test.o NONVERBOSE BUILD: Compiling test/test.cc to ../build/test/test.o NONVERBOSE BUILD: Building shared library ../build/test/libtest.so.1.2.3 NONVERBOSE BUILD: Compiling test.cc to ../build/test/test.o @@ -631,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,