Merge pull request #286792 from dasj19/disable-tor-tests-on-aarch32

tor: disabled tests on aarch32
This commit is contained in:
Pavol Rusnak 2024-02-21 11:10:32 -03:00 committed by GitHub
commit e14b0b72ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -70,14 +70,9 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
# disable tests on aarch64-darwin, the following tests fail there:
# oom/circbuf: [forking]
# FAIL src/test/test_oom.c:187: assert(c1->marked_for_close)
# [circbuf FAILED]
# oom/streambuf: [forking]
# FAIL src/test/test_oom.c:287: assert(x_ OP_GE 500 - 5): 0 vs 495
# [streambuf FAILED]
doCheck = !(stdenv.isDarwin && stdenv.isAarch64);
# disable tests on linux aarch32
# https://gitlab.torproject.org/tpo/core/tor/-/issues/40912
doCheck = !(stdenv.isLinux && stdenv.isAarch32);
postInstall = ''
mkdir -p $geoip/share/tor