query006: only set expectfailure on 32-bit systems

Use the architecture of the python interpreter running the test to
detect 32bit systems.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Andrew Gregory 2013-08-18 15:06:30 -04:00 committed by Allan McRae
parent 48861f509a
commit 2e2c614f0e
1 changed files with 4 additions and 1 deletions

View File

@ -24,4 +24,7 @@
self.addrule("PACMAN_OUTPUT=^Build Date.* 2065")
self.addrule("PACMAN_OUTPUT=^Install Date.* 2286")
self.expectfailure = True
# expect failure on 32bit systems
import sys
if sys.maxsize <= 2**32:
self.expectfailure = True