tests: Fix test failures in calendar and expressions tests.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 12 Jun 2010 03:40:35 +0000 (20:40 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 12 Jun 2010 03:40:35 +0000 (20:40 -0700)
tests/data/calendar.at
tests/language/expressions/evaluate.at

index 63b93e2540a6f09cd424905207f6ccfe53609a2a..4b64ecdc1a108c9f58b9e41e25ca83724fe95f7b 100644 (file)
@@ -86,7 +86,7 @@ DEBUG EVALUATE/DATE.DMY(1,1,99) = DATE.DMY(1,1,2099).
 DEBUG EVALUATE/DATE.DMY(1,1,100).
 ])
 
-AT_CHECK([pspp --testing-mode --no-output epoch.sps], [1],
+AT_CHECK([pspp --testing-mode --error-file=- --no-output epoch.sps], [1],
   [true
 true
 true
index abfd2bce5a89b2fa40727dafb57dd1eaf9c136a3..4bd186fe3c7409d88e7ecdea34185c6b964a1f42 100644 (file)
@@ -9,7 +9,7 @@ DEBUG EVALUATE m4_argn(4, check)/[]m4_car(check).
 ])])
    AT_CAPTURE_FILE([evaluate.sps])
    m4_pushdef([i], [2])
-   AT_CHECK([pspp --testing-mode --no-output evaluate.sps], 
+   AT_CHECK([pspp --testing-mode --error-file=- --no-output evaluate.sps], 
      [m4_if(m4_bregexp([m4_foreach([check], [m4_shift($@)], [m4_argn(3, check)])], [error:]), [-1], [0], [1])],
      [m4_foreach([check], [m4_shift($@)],
         [m4_define([i], m4_incr(i))dnl