Mercurial > dropbear
comparison libtomcrypt/testbuild.sh @ 1471:6dba84798cd5
Update to libtomcrypt 1.18.1, merged with Dropbear changes
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 09 Feb 2018 21:44:05 +0800 |
parents | 0cbe8f6dbf9e |
children |
comparison
equal
deleted
inserted
replaced
1470:8bba51a55704 | 1471:6dba84798cd5 |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 | |
3 # output version | |
4 bash printinfo.sh | |
5 | |
2 echo "$1 (Build Only, $2, $3)..." | 6 echo "$1 (Build Only, $2, $3)..." |
3 make clean 1>/dev/null 2>/dev/null | 7 make clean 1>/dev/null 2>/dev/null |
4 echo -n "building..." | 8 echo -n "building..." |
5 touch testok.txt | 9 touch testok.txt |
6 CFLAGS="$2 $CFLAGS $4" EXTRALIBS="$5" make -f $3 test tv_gen 1>gcc_1.txt 2>gcc_2.txt || (echo "build $1 failed see gcc_2.txt for more information" && cat gcc_2.txt && rm -f testok.txt && exit 1) | 10 CFLAGS="$2 $CFLAGS $4" EXTRALIBS="$5" make -f $3 test tv_gen 1>gcc_1.txt 2>gcc_2.txt || (echo "build $1 failed see gcc_2.txt for more information" && cat gcc_2.txt && rm -f testok.txt && exit 1) |