mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
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:
parent
48861f509a
commit
2e2c614f0e
@ -24,4 +24,7 @@ self.addrule("PACMAN_OUTPUT=^Installed Size.*9765625.00 KiB")
|
|||||||
self.addrule("PACMAN_OUTPUT=^Build Date.* 2065")
|
self.addrule("PACMAN_OUTPUT=^Build Date.* 2065")
|
||||||
self.addrule("PACMAN_OUTPUT=^Install Date.* 2286")
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user