Skip to content

Commit

Permalink
disable proposer slashing tests only on 64-bit windows (#438)
Browse files Browse the repository at this point in the history
* disable proposer slashing tests only on 64-bit windows

* add visible skipped-test output
  • Loading branch information
tersec authored and mratsim committed Sep 11, 2019
1 parent 8676bbf commit 1061708
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions tests/official/test_fixture_operations_proposer_slashings.nim
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,18 @@ template runTest(identifier: untyped) =
`testImpl_proposer_slashing _ identifier`()

suite "Official - Operations - Proposer slashing " & preset():
runTest(success)
runTest(invalid_sig_1)
runTest(invalid_sig_2)
runTest(invalid_sig_1_and_2)
runTest(invalid_proposer_index)
runTest(epochs_are_different)
runTest(headers_are_same)
runTest(proposer_is_not_activated)
runTest(proposer_is_slashed)
runTest(proposer_is_withdrawn)
# 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(invalid_sig_1)
runTest(invalid_sig_2)
runTest(invalid_sig_1_and_2)
runTest(invalid_proposer_index)
runTest(epochs_are_different)
runTest(headers_are_same)
runTest(proposer_is_not_activated)
runTest(proposer_is_slashed)
runTest(proposer_is_withdrawn)
else:
echo "Skipped for Windows 64-bit CI"

0 comments on commit 1061708

Please sign in to comment.