From a6cde0928e5050153dc9247606f5ecc1ef123d42 Mon Sep 17 00:00:00 2001 From: andri lim Date: Thu, 20 Feb 2020 11:39:07 +0700 Subject: [PATCH] [skip ci] remove test_generalstate_failing.nim --- tests/test_generalstate_failing.nim | 36 ----------------------------- 1 file changed, 36 deletions(-) delete mode 100644 tests/test_generalstate_failing.nim diff --git a/tests/test_generalstate_failing.nim b/tests/test_generalstate_failing.nim deleted file mode 100644 index 688625325..000000000 --- a/tests/test_generalstate_failing.nim +++ /dev/null @@ -1,36 +0,0 @@ -# Nimbus -# Copyright (c) 2018 Status Research & Development GmbH -# Licensed under either of -# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) -# * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) -# at your option. This file may not be copied, modified, or distributed except according to those terms. - -# XXX: when all but a relative few dozen, say, GeneralStateTests run, remove this, -# but for now, this enables some CI use before that to prevent regressions. In the -# separate file here because it would otherwise just distract. Could use all sorts -# of O(1) or O(log n) lookup structures, or be more careful to only initialize the -# table once, but notion's that it should shrink reasonable quickly and disappear, -# being mostly used for short-term regression prevention. -func allowedFailingGeneralStateTest*(folder, name: string): bool = - let allowedFailingGeneralStateTests = @[ - # conflicts between native int and big int. - # gasFee calculation in modexp precompiled - # contracts - "modexp.json", - # perhaps a design flaw with create/create2 opcode. - # a conflict between balance checker and - # static call context checker - "create2noCash.json", - - # Istanbul bc test - # py-evm claims these tests are incorrect - # nimbus also agree - "RevertInCreateInInit.json", - "RevertInCreateInInitCreate2.json", - "InitCollision.json", - - # Failure once spotted on Travis CI Linux AMD64: - # "out of memorysubtest no: 7 failed" - # "randomStatetest159.json", - ] - result = name in allowedFailingGeneralStateTests