nim: disable test supposedly broken on Aarch64
This commit is contained in:
parent
89d71c5279
commit
651c1784a9
@ -58,6 +58,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patchPhase =
|
patchPhase =
|
||||||
let disableTest = ''sed -i '1i discard \"\"\"\n disabled: true\n\"\"\"\n\n' '';
|
let disableTest = ''sed -i '1i discard \"\"\"\n disabled: true\n\"\"\"\n\n' '';
|
||||||
|
disableStdLibTest = ''sed -i -e '/^when isMainModule/,/^END$/{s/^/#/}' '';
|
||||||
disableCompile = ''sed -i -e 's/^/#/' '';
|
disableCompile = ''sed -i -e 's/^/#/' '';
|
||||||
in ''
|
in ''
|
||||||
substituteInPlace ./tests/async/tioselectors.nim --replace "/bin/sleep" "sleep"
|
substituteInPlace ./tests/async/tioselectors.nim --replace "/bin/sleep" "sleep"
|
||||||
@ -66,6 +67,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# disable tests requiring network access (not available in the build container)
|
# disable tests requiring network access (not available in the build container)
|
||||||
${disableTest} ./tests/stdlib/thttpclient.nim
|
${disableTest} ./tests/stdlib/thttpclient.nim
|
||||||
|
'' + lib.optionalString stdenv.isAarch64 ''
|
||||||
|
# disable test supposedly broken on aarch64
|
||||||
|
${disableStdLibTest} ./lib/pure/stats.nim
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user