From 82141e26072a16c3eef63ccab2080d84e9b0f72a Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 11 Jun 2010 20:40:35 -0700 Subject: [PATCH] tests: Fix test failures in calendar and expressions tests. --- tests/data/calendar.at | 2 +- tests/language/expressions/evaluate.at | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/data/calendar.at b/tests/data/calendar.at index 63b93e25..4b64ecdc 100644 --- a/tests/data/calendar.at +++ b/tests/data/calendar.at @@ -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 diff --git a/tests/language/expressions/evaluate.at b/tests/language/expressions/evaluate.at index abfd2bce..4bd186fe 100644 --- a/tests/language/expressions/evaluate.at +++ b/tests/language/expressions/evaluate.at @@ -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 -- 2.30.2