From: Ben Pfaff Date: Sat, 12 Jun 2010 03:40:35 +0000 (-0700) Subject: tests: Fix test failures in calendar and expressions tests. X-Git-Tag: v0.7.6~366 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82141e26072a16c3eef63ccab2080d84e9b0f72a;p=pspp-builds.git tests: Fix test failures in calendar and expressions tests. --- 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