comparison regression/regression-tests.bash @ 118:0f1492b7fe8b

patch from Fridrich Strba for building on mingw and general cleanup of autoconf files add processing for pst files of type 0x0f start adding support for properly building and installing libpst.so and the header files required to use it. remove version.h since the version number is now in config.h more const correctness issues regarding getopt()
author Carl Byington <carl@five-ten-sg.com>
date Sat, 31 Jan 2009 12:12:36 -0800
parents ed2a260bbb98
children 6395ced2b8b2
comparison
equal deleted inserted replaced
117:0a3d854b53f6 118:0f1492b7fe8b
15 15
16 function dopst() 16 function dopst()
17 { 17 {
18 n="$1" 18 n="$1"
19 fn="$2" 19 fn="$2"
20 echo $fn
21 ba=$(basename "$fn" .pst)
20 rm -rf output$n 22 rm -rf output$n
21 mkdir output$n 23 mkdir output$n
22 $val ../src/readpst -cv -o output$n -d dumper $fn >$fn.err 2>&1 24 #../src/readpst -cv -o output$n $fn >$ba.err 2>&1
23 ../src/readpstlog -f I dumper >$fn.log 25 $val ../src/readpst -cv -o output$n -d dumper $fn >$ba.err 2>&1
24 #$val ../src/pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' -o $fn >$fn.ldif.err 2>&1 26 ../src/readpstlog -f I dumper >$ba.log
25 #$val ../src/pst2ldif -b 'o=ams-cc.com, c=US' -c 'inetOrgPerson' $fn >$fn.ldif2.err 2>&1 27 #$val ../src/pst2ldif -d dumper -b 'o=ams-cc.com, c=US' -c 'newPerson' -o $fn >$ba.ldif.err 2>&1
28 #$val ../src/pst2ldif -d dumper -b 'o=ams-cc.com, c=US' -c 'inetOrgPerson' $fn >$ba.ldif2.err 2>&1
29 # ../src/readpstlog -f I dumper >$ba.log
26 rm -f dumper 30 rm -f dumper
27 } 31 }
28 32
29 33
30 34
31 val="valgrind --leak-check=full" 35 val="valgrind --leak-check=full"
32 #val='' 36 val=''
33 37
34 pushd .. 38 pushd ..
35 make || exit 39 make || exit
36 popd 40 popd
37 41
51 #dopst 8 ol2k3high.pst 55 #dopst 8 ol2k3high.pst
52 #dopst 9 ol97high.pst 56 #dopst 9 ol97high.pst
53 #dopst 10 returned_message.pst 57 #dopst 10 returned_message.pst
54 #dopst 11 flow.pst 58 #dopst 11 flow.pst
55 #dopst 12 test-html.pst 59 #dopst 12 test-html.pst
56 dopst 13 test-text.pst 60 #dopst 13 test-text.pst
57 #dopst 14 joe.romanowski.pst 61 #dopst 14 joe.romanowski.pst
62 #dopst 15 hourig1.pst
63 #dopst 16 hourig2.pst
64 dopst 17 hourig3.pst
58 fi 65 fi
59 66