MATRIX: Fix test failure on 32-bit platforms.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 24 Apr 2023 16:04:09 +0000 (09:04 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 24 Apr 2023 16:04:09 +0000 (09:04 -0700)
Thanks to Friedrich Beckmann for reporting the problem.
Fixes: 505a04fe4cf5 ("Fix checks for valid integer range subset of 'double'.")
tests/language/commands/matrix.at

index 9ad1608ad6f9f9a325d1242cf1411f1b9fdef898..0ae9d07bb4fbf8729bdadbc7bc3ed6ad728d2073 100644 (file)
@@ -1572,7 +1572,8 @@ PRINT {{1; 2}:3e50}.
 PRINT {-9223372036854770000:9223372036854775807}.
 END MATRIX.
 ])
-AT_CHECK([pspp matrix.sps], [1], [dnl
+AT_CHECK([pspp matrix.sps], [1], [stdout])
+AT_CHECK([sed 's/from -2147483648 to 2147483647/from -9007199254740992 to 9007199254740992/' stdout], [0], [dnl
 {1:3:-1}
 
 {1:3}