disable proposer slashing tests only on 64-bit windows (#438)

* disable proposer slashing tests only on 64-bit windows

* add visible skipped-test output
This commit is contained in:
Dustin Brody 2019-09-11 13:52:38 +00:00 committed by Mamy Ratsimbazafy
parent 8676bbf388
commit 1061708ec2

View File

@ -64,6 +64,9 @@ template runTest(identifier: untyped) =
`testImpl_proposer_slashing _ identifier`() `testImpl_proposer_slashing _ identifier`()
suite "Official - Operations - Proposer slashing " & preset(): suite "Official - Operations - Proposer slashing " & preset():
# TODO https://github.com/status-im/nim-beacon-chain/issues/435
# CI Win64 - "The parameter is incorrect"
when not (defined(windows) and sizeof(int) == 8):
runTest(success) runTest(success)
runTest(invalid_sig_1) runTest(invalid_sig_1)
runTest(invalid_sig_2) runTest(invalid_sig_2)
@ -74,3 +77,5 @@ suite "Official - Operations - Proposer slashing " & preset():
runTest(proposer_is_not_activated) runTest(proposer_is_not_activated)
runTest(proposer_is_slashed) runTest(proposer_is_slashed)
runTest(proposer_is_withdrawn) runTest(proposer_is_withdrawn)
else:
echo "Skipped for Windows 64-bit CI"