# contrib/platformtest.sh
platformtest.sh: Checking ngIRCd base source directory ...
platformtest.sh: Checking for GIT tree ...
platformtest.sh: Checking for "./configure" script ...
platformtest.sh: Running "./configure" script ...
platformtest.sh: Running "make" ...
platformtest.sh: Running "make check" ...
portabtest.c: In function ‘main’:
portabtest.c:45:6: warning: the address of ‘snprintf’ will always evaluate as ‘true’ [-Waddress]
if( ! snprintf ) Panic( "snprintf", 2 );
^
portabtest.c:46:6: warning: the address of ‘vsnprintf’ will always evaluate as ‘true’ [-Waddress]
if( ! vsnprintf ) Panic( "vsnprintf", 2 );
^
portabtest.c:47:6: warning: the address of ‘strlcpy’ will always evaluate as ‘true’ [-Waddress]
if( ! strlcpy ) Panic( "strlcpy", 2 );
^
portabtest.c:48:6: warning: the address of ‘strlcat’ will always evaluate as ‘true’ [-Waddress]
if( ! strlcat ) Panic( "strlcat", 2 );
^
the executable works ("runs") as expected --+
tests run successfully ("make check") --+ |
ngIRCd compiles ("make") --+ | |
./configure works --+ | | |
| | | |
Platform Compiler ngIRCd Date Tester C M T R *
--------------------------- ------------ ---------- -------- -------- - - - - -
armv7l/unknown/linux-gnueabihf gcc 4.8.2 21.1 14-07-15 goetz Y Y Y Y 5
[root@alarm ngircd-21.1]# uname -a
Linux alarm 3.5.7-14-ARCH #1 PREEMPT Mon Jun 30 13:06:45 MDT 2014 armv7l GNU/Linux