diff regression/regression-tests.bash @ 202:2f38c4ce606f

remove readpstlog, switch to plain ascii debug log files
author Carl Byington <carl@five-ten-sg.com>
date Mon, 18 May 2009 15:55:05 -0700
parents 3850a3b11745
children 9fb600ef4e03
line wrap: on
line diff
--- a/regression/regression-tests.bash	Sat May 16 10:32:26 2009 -0700
+++ b/regression/regression-tests.bash	Mon May 18 15:55:05 2009 -0700
@@ -49,17 +49,13 @@
     fn="$2"
     echo $fn
     ba=$(basename "$fn" .pst)
+    jobs=""
+    [ -n "$val" ] && jobs="-j 0"
     rm -rf output$n
     mkdir output$n
-    #    ../src/readpst -cv -o output$n $fn >$ba.err 2>&1
-    #           readpst -cv -o output$n -d dumper $fn >$ba.err 2>&1
-    $val ../src/readpst -r -D -cv -o output$n  $fn
-  # $val ../src/readpst -r -D -cv -o output$n -d dumper $fn >$ba.err 2>&1
-  #      ../src/readpstlog -f I dumper >$ba.log
-
-    #../src/getidblock -d -p $fn 0 >$ba.fulldump
-    #../src/readpstlog -f I getidblock.log >$ba.fulldump.log
-
+    #val ../src/readpst $jobs -r -D -cv -o output$n            $fn
+    $val ../src/readpst $jobs -r -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1
+    #../src/getidblock -p $fn 0 >$ba.fulldump
     #rm -f dumper
 }
 
@@ -95,38 +91,38 @@
     doldif  13 test-text.pst
     doldif  14 joe.romanowski.pst
     doldif  15 hourig1.pst
-    #doldif  16 hourig2.pst
-    #doldif  17 hourig3.pst
+    doldif  16 hourig2.pst
+    doldif  17 hourig3.pst
     doldif  18 test-mac.pst
-    #doldif  19 harris.pst
+    doldif  19 harris.pst
     doldif  20 spam.pst
-    dolif   21 rendgen.pst
+    doldif  21 rendgen.pst
 else
-    #dopst   1 ams.pst
-    #dopst   2 sample_64.pst
-    #dopst   3 test.pst
-    #dopst   4 big_mail.pst
-    #dopst   5 mbmg.archive.pst
-    #dopst   6 Single2003-read.pst
-    #dopst   7 Single2003-unread.pst
-    #dopst   8 ol2k3high.pst
-    #dopst   9 ol97high.pst
-    #dopst  10 returned_message.pst
-    #dopst  11 flow.pst
-    #dopst  12 test-html.pst
-    #dopst  13 test-text.pst
-    #dopst  14 joe.romanowski.pst
-    #dopst  15 hourig1.pst
-    dopst  16 hourig2.pst
+    dopst   1 ams.pst
+    dopst   2 sample_64.pst
+    dopst   3 test.pst
+    dopst   4 big_mail.pst
+    dopst   5 mbmg.archive.pst
+    dopst   6 Single2003-read.pst
+    dopst   7 Single2003-unread.pst
+    dopst   8 ol2k3high.pst
+    dopst   9 ol97high.pst
+    dopst  10 returned_message.pst
+    dopst  11 flow.pst
+    dopst  12 test-html.pst
+    dopst  13 test-text.pst
+    dopst  14 joe.romanowski.pst
+    dopst  15 hourig1.pst
+    #dopst  16 hourig2.pst
     #dopst  17 hourig3.pst
-    #dopst  18 test-mac.pst
-    #dopst  19 harris.pst
-    #dopst  20 spam.pst
-    #dopst  21 rendgen.pst       # single email appointment
-    #dopst  22 rendgen2.pst      # email appointment with no termination date
-    #dopst  23 rendgen3.pst      # mime signed email
-    #dopst  24 rendgen4.pst      # appointment test cases
-    #dopst  25 rendgen5.pst      # appointment test cases
+    dopst  18 test-mac.pst
+    dopst  19 harris.pst
+    dopst  20 spam.pst
+    dopst  21 rendgen.pst       # single email appointment
+    dopst  22 rendgen2.pst      # email appointment with no termination date
+    dopst  23 rendgen3.pst      # mime signed email
+    dopst  24 rendgen4.pst      # appointment test cases
+    dopst  25 rendgen5.pst      # appointment test cases
 fi
 
 grep 'lost:' *err | grep -v 'lost: 0 '