Disable mixed usage of cliBuilder to fix incorrect test failure reporting (#836)

This commit is contained in:
Kim De Mey 2021-09-21 14:35:41 +02:00 committed by GitHub
parent e23300e2cc
commit 1afdfdf2ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 13 deletions

View File

@ -5,8 +5,6 @@
# * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) # * 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. # at your option. This file may not be copied, modified, or distributed except according to those terms.
import ../../test_macro
{. warning[UnusedImport]:off .} {. warning[UnusedImport]:off .}
import import
@ -14,8 +12,5 @@ import
./test_portal, ./test_portal,
./test_content_network, ./test_content_network,
./test_discovery_rpc, ./test_discovery_rpc,
./test_custom_distance ./test_custom_distance,
./test_bridge_parser
cliBuilder:
import
./test_bridge_parser

View File

@ -8,11 +8,10 @@
{.used.} {.used.}
import import
std/[unittest, sequtils], std/sequtils,
stint, stint, unittest2,
../network/state/custom_distance ../network/state/custom_distance
suite "State network custom distance function": suite "State network custom distance function":
test "Calculate distance according to spec": test "Calculate distance according to spec":
check: check:
@ -56,4 +55,3 @@ suite "State network custom distance function":
check: check:
logDistances == logCalculated logDistances == logCalculated

View File

@ -8,8 +8,7 @@
{.used.} {.used.}
import import
std/unittest, unittest2, stint, stew/[byteutils, results], eth/p2p/discoveryv5/enr,
stint, stew/[byteutils, results], eth/p2p/discoveryv5/enr,
../network/state/messages ../network/state/messages
suite "Portal Protocol Message Encodings": suite "Portal Protocol Message Encodings":