Merge pull request #113649 from bachp/openethereum-fix-tests

openethereum: fix tests
This commit is contained in:
Sandro 2021-02-19 02:49:35 +01:00 committed by GitHub
commit 8ecd005e6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,8 +37,14 @@ rustPlatform.buildRustPackage rec {
cargoBuildFlags = [ "--features final" ];
# test result: FAILED. 88 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out
doCheck = false;
# Fix tests by preventing them from writing to /homeless-shelter.
preCheck = ''
export HOME=$(mktemp -d)
'';
# Exclude some tests that don't work in the sandbox
# - Nat test requires network access
checkFlags = "--skip configuration::tests::should_resolve_external_nat_hosts";
meta = with lib; {
description = "Fast, light, robust Ethereum implementation";