comparison regression/regression-tests.bash @ 231:fe64279df92b

patches from Chris White, Roberto Polli, Justin Greer
author Carl Byington <carl@five-ten-sg.com>
date Thu, 10 Sep 2009 15:21:23 -0700
parents 42b38d65f7e4
children 1d50ff3c5091
comparison
equal deleted inserted replaced
230:42b38d65f7e4 231:fe64279df92b
45 { 45 {
46 n="$1" 46 n="$1"
47 fn="$2" 47 fn="$2"
48 echo $fn 48 echo $fn
49 ba=$(basename "$fn" .pst) 49 ba=$(basename "$fn" .pst)
50 jobs="" 50 jobs="-j 0"
51 [ -n "$val" ] && jobs="-j 0" 51 [ -n "$val" ] && jobs="-j 0"
52 rm -rf output$n 52 rm -rf output$n
53 mkdir output$n 53 mkdir output$n
54 #val ../src/readpst $jobs -r -D -cv -o output$n $fn 54 #val ../src/readpst $jobs -r -D -cv -o output$n $fn
55 $val ../src/readpst $jobs -r -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1 55 $val ../src/readpst $jobs -r -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1
65 make || exit 65 make || exit
66 popd 66 popd
67 67
68 rm -rf output* *.err *.log 68 rm -rf output* *.err *.log
69 69
70 if [ "$1" == "dii" ]; then 70 if [ "$1" == "test" ]; then
71 dopst 19 harris.pst
72
73 elif [ "$1" == "dii" ]; then
71 dodii 1 ams.pst 74 dodii 1 ams.pst
72 dodii 2 sample_64.pst 75 dodii 2 sample_64.pst
73 dodii 3 test.pst 76 dodii 3 test.pst
74 dodii 4 big_mail.pst 77 dodii 4 big_mail.pst
78
75 elif [ "$1" == "ldif" ]; then 79 elif [ "$1" == "ldif" ]; then
76 doldif 1 ams.pst 80 doldif 1 ams.pst
77 doldif 2 sample_64.pst 81 doldif 2 sample_64.pst
78 doldif 3 test.pst 82 doldif 3 test.pst
79 doldif 4 big_mail.pst 83 doldif 4 big_mail.pst