Mercurial > dropbear
comparison libtomcrypt/run.sh @ 398:59c7938af2bd
merge of '1250b8af44b62d8f4fe0f8d9fc7e7a1cc34e7e1c'
and '7f8670ac3bb975f40967f3979d09d2199b7e90c8'
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 03 Feb 2007 08:20:30 +0000 |
parents | 0cbe8f6dbf9e |
children | 6dba84798cd5 |
comparison
equal
deleted
inserted
replaced
396:e7c1a77d2921 | 398:59c7938af2bd |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 bash build.sh " $1" "$2 -O2" "$3 IGNORE_SPEED=1" | 2 bash build.sh " $1" "$2 -O2" "$3 IGNORE_SPEED=1" "$4" "$5" |
3 if [ -a testok.txt ] && [ -f testok.txt ]; then | 3 if [ -a testok.txt ] && [ -f testok.txt ]; then |
4 echo | 4 echo |
5 else | 5 else |
6 echo | 6 echo |
7 echo "Test failed" | 7 echo "Test failed" |
8 exit 1 | 8 exit 1 |
9 fi | 9 fi |
10 | 10 |
11 rm -f testok.txt | 11 rm -f testok.txt |
12 bash build.sh " $1" "$2 -Os" " $3 IGNORE_SPEED=1 LTC_SMALL=1" | 12 bash build.sh " $1" "$2 -Os" " $3 IGNORE_SPEED=1 LTC_SMALL=1" "$4" "$5" |
13 if [ -a testok.txt ] && [ -f testok.txt ]; then | 13 if [ -a testok.txt ] && [ -f testok.txt ]; then |
14 echo | 14 echo |
15 else | 15 else |
16 echo | 16 echo |
17 echo "Test failed" | 17 echo "Test failed" |
18 exit 1 | 18 exit 1 |
19 fi | 19 fi |
20 | 20 |
21 rm -f testok.txt | 21 rm -f testok.txt |
22 bash build.sh " $1" " $2" " $3" | 22 bash build.sh " $1" " $2" " $3 " "$4" "$5" |
23 if [ -a testok.txt ] && [ -f testok.txt ]; then | 23 if [ -a testok.txt ] && [ -f testok.txt ]; then |
24 echo | 24 echo |
25 else | 25 else |
26 echo | 26 echo |
27 echo "Test failed" | 27 echo "Test failed" |
29 fi | 29 fi |
30 | 30 |
31 exit 0 | 31 exit 0 |
32 | 32 |
33 # $Source: /cvs/libtom/libtomcrypt/run.sh,v $ | 33 # $Source: /cvs/libtom/libtomcrypt/run.sh,v $ |
34 # $Revision: 1.13 $ | 34 # $Revision: 1.15 $ |
35 # $Date: 2005/05/11 18:59:53 $ | 35 # $Date: 2005/07/23 14:18:31 $ |