comparison testme.sh @ 381:999a5eb4ed10 libtomcrypt-dropbear

propagate from branch 'au.asn.ucc.matt.ltc.orig' (head 52840647ac7f5c707c3bd158d119a15734a7ef28) to branch 'au.asn.ucc.matt.ltc.dropbear' (head 20dccfc09627970a312d77fb41dc2970b62689c3)
author Matt Johnston <matt@ucc.asn.au>
date Thu, 11 Jan 2007 02:39:21 +0000
parents d5faf4814ddb
children
comparison
equal deleted inserted replaced
281:997e6f7dc01e 381:999a5eb4ed10
7 echo "Testing verion" `grep "^VERSION=" makefile | sed "s/.*=//"` 7 echo "Testing verion" `grep "^VERSION=" makefile | sed "s/.*=//"`
8 #grep "VERSION=" makefile | perl -e "@a = split('=', <>); print @a[1];"` 8 #grep "VERSION=" makefile | perl -e "@a = split('=', <>); print @a[1];"`
9 9
10 # get uname 10 # get uname
11 echo "uname="`uname -a` 11 echo "uname="`uname -a`
12
13 # get gcc name
14 echo "gcc="`gcc -dumpversion`
12 echo 15 echo
13 16
14 # stock build 17 # stock build
15 bash run.sh "STOCK" " " $1 || exit 1 18 bash run.sh "STOCK" " " "$1" "$2" "$3" || exit 1
16 19
17 # SMALL code 20 # SMALL code
18 bash run.sh "SMALL" "-DLTC_SMALL_CODE" $1 || exit 1 21 bash run.sh "SMALL" "-DLTC_SMALL_CODE" "$1" "$2" "$3" || exit 1
19 22
20 # NOTABLES 23 # NOTABLES
21 bash run.sh "NOTABLES" "-DLTC_NO_TABLES" $1 || exit 1 24 bash run.sh "NOTABLES" "-DLTC_NO_TABLES" "$1" "$2" "$3" || exit 1
22 25
23 # SMALL+NOTABLES 26 # SMALL+NOTABLES
24 bash run.sh "SMALL+NOTABLES" "-DLTC_SMALL_CODE -DLTC_NO_TABLES" $1 || exit 1 27 bash run.sh "SMALL+NOTABLES" "-DLTC_SMALL_CODE -DLTC_NO_TABLES" "$1" "$2" "$3" || exit 1
25 28
26 # CLEANSTACK 29 # CLEANSTACK
27 bash run.sh "CLEANSTACK" "-DLTC_CLEAN_STACK" $1 || exit 1 30 bash run.sh "CLEANSTACK" "-DLTC_CLEAN_STACK" "$1" "$2" "$3" || exit 1
28 31
29 # CLEANSTACK + SMALL 32 # CLEANSTACK + SMALL
30 bash run.sh "CLEANSTACK+SMALL" "-DLTC_SMALL_CODE -DLTC_CLEAN_STACK" $1 || exit 1 33 bash run.sh "CLEANSTACK+SMALL" "-DLTC_SMALL_CODE -DLTC_CLEAN_STACK" "$1" "$2" "$3" || exit 1
31 34
32 # CLEANSTACK + NOTABLES 35 # CLEANSTACK + NOTABLES
33 bash run.sh "CLEANSTACK+NOTABLES" "-DLTC_NO_TABLES -DLTC_CLEAN_STACK" $1 || exit 1 36 bash run.sh "CLEANSTACK+NOTABLES" "-DLTC_NO_TABLES -DLTC_CLEAN_STACK" "$1" "$2" "$3" || exit 1
34 37
35 # CLEANSTACK + NOTABLES + SMALL 38 # CLEANSTACK + NOTABLES + SMALL
36 bash run.sh "CLEANSTACK+NOTABLES+SMALL" "-DLTC_NO_TABLES -DLTC_CLEAN_STACK -DLTC_SMALL_CODE" $1 || exit 1 39 bash run.sh "CLEANSTACK+NOTABLES+SMALL" "-DLTC_NO_TABLES -DLTC_CLEAN_STACK -DLTC_SMALL_CODE" "$1" "$2" "$3" || exit 1
37 40
38 # NO_FAST 41 # NO_FAST
39 bash run.sh "NO_FAST" "-DLTC_NO_FAST" $1 || exit 1 42 bash run.sh "NO_FAST" "-DLTC_NO_FAST" "$1" "$2" "$3" || exit 1
43
44 # NO_FAST + NOTABLES
45 bash run.sh "NO_FAST+NOTABLES" "-DLTC_NO_FAST -DLTC_NO_TABLES" "$1" "$2" "$3" || exit 1
40 46
41 # NO_ASM 47 # NO_ASM
42 bash run.sh "NO_ASM" "-DLTC_NO_ASM" $1 || exit 1 48 bash run.sh "NO_ASM" "-DLTC_NO_ASM" "$1" "$2" "$3" || exit 1
43 49
44 # test build with no testing 50 # test build with no testing
45 bash testbuild.sh "NOTEST" "-DLTC_NO_TEST" $1 || exit 1 51 bash testbuild.sh "NOTEST" "-DLTC_NO_TEST" "$1" "$2" "$3" || exit 1
46 52
47 # test build with no file routines 53 # test build with no file routines
48 bash testbuild.sh "NOFILE" "-DLTC_NO_FILE" $1 || exit 1 54 bash testbuild.sh "NOFILE" "-DLTC_NO_FILE" "$1" "$2" "$3" || exit 1
49 55
50 # $Source: /cvs/libtom/libtomcrypt/testme.sh,v $ 56 # $Source: /cvs/libtom/libtomcrypt/testme.sh,v $
51 # $Revision: 1.16 $ 57 # $Revision: 1.20 $
52 # $Date: 2005/05/11 18:59:53 $ 58 # $Date: 2006/01/26 14:49:43 $