HomePhabricator

[CI] Add a Powershell script for running tests on windows

Description

[CI] Add a Powershell script for running tests on windows

Summary:
This diff adds a Powershell script which takes the build artifacts from
a windows cross build as an input and run some basic tests on it.

This version is simple enough to run on any Windows 10 teamcity agent
and requires no additional dependency nor VCS checkout. More tests can
be added later as needed. The avalanche test
processor_tests/poll_inflight_timeout will hang forever and needs
further investigation, it is disabled for now.

Test Plan:
I setup a Windows 10 VM, installed the teamcity agent software and ran
this script from the teamcity config. Example output:
https://build.bitcoinabc.org/viewLog.html?buildId=65812&buildTypeId=BitcoinABC_Master_CrossBuilds_TestNativeWindows&tab=buildLog

Reviewers: #bitcoin_abc, jasonbcox, deadalnix

Reviewed By: #bitcoin_abc, jasonbcox, deadalnix

Subscribers: deadalnix, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D7559

Details

Provenance
FabienAuthored on Sep 24 2020, 21:42
FabienPushed on Sep 25 2020, 19:16
Reviewer
Restricted Project
Differential Revision
D7559: [CI] Add a Powershell script for running tests on windows
Parents
rABCbcc81a569012: [refactor] pass CTxMempool& to DisconnectedBlockTransactions methods
Branches
Unknown
Tags
Unknown