From: Ben Pfaff Date: Thu, 16 Dec 2021 04:20:48 +0000 (-0800) Subject: MATRIX: Update EVAL test to avoid failure on i386. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=901d90ada6fe4c9cc1fb93855fd6d7012029f35c;p=pspp MATRIX: Update EVAL test to avoid failure on i386. The i386 buildbot produced different precision for the eigenvalues (integers rather than almost-integers), which isn't a significant difference. This commit should avoid the problem. --- diff --git a/tests/language/stats/matrix.at b/tests/language/stats/matrix.at index add4cae745..557e8c597e 100644 --- a/tests/language/stats/matrix.at +++ b/tests/language/stats/matrix.at @@ -1794,7 +1794,7 @@ AT_CLEANUP AT_SETUP([MATRIX - EVAL EXP GINV GRADE GSCH]) AT_DATA([matrix.sps], [dnl MATRIX. -PRINT EVAL({2, 0, 0; 0, 3, 4; 0, 4, 9}). +PRINT EVAL({2, 0, 0; 0, 3, 4; 0, 4, 9})/FORMAT=F5.2. PRINT EXP({2, 3; 4, 5})/FORMAT F5.2. @@ -1820,9 +1820,9 @@ END MATRIX. ]) AT_CHECK([pspp matrix.sps], [1], [dnl EVAL({2, 0, 0; 0, 3, 4; 0, 4, 9}) - 11.0000000000 - 2.0000000000 - 1.0000000000 + 11.00 + 2.00 + 1.00 EXP({2, 3; 4, 5}) 7.39 20.09