prometheus: skip tests on 32-bit platforms

This commit is contained in:
Lorenz Brun 2023-05-27 11:53:28 +02:00
parent 8ffd7bb588
commit e1a0a7aa76

View file

@ -120,7 +120,9 @@ buildGoModule rec {
moveToOutput bin/promtool $cli
'';
doCheck = !stdenv.isDarwin; # https://hydra.nixos.org/build/130673870/nixlog/1
# https://hydra.nixos.org/build/130673870/nixlog/1
# Test mock data uses 64 bit data without an explicit (u)int64
doCheck = !(stdenv.isDarwin || stdenv.hostPlatform.parsed.cpu.bits < 64);
passthru.tests = { inherit (nixosTests) prometheus; };