test suite: Windows/MSYS2 fixes

This commit is contained in:
The MMGen Project 2021-10-13 20:44:43 +00:00
commit 88a9729810
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
5 changed files with 8 additions and 4 deletions

View file

@ -1163,4 +1163,5 @@ class TestSuiteEthdev(TestSuiteBase,TestSuiteShared):
if not opt.no_daemon_stop:
if not stop_test_daemons(self.proto.coin+'_rt'):
return False
set_vt100()
return 'ok'

View file

@ -89,6 +89,8 @@ def test_cmds(op):
class unit_tests:
win_skip = ('start','status','stop')
def flags(self,name,ut):
qmsg_r('Testing flags and opts...')

View file

@ -10,10 +10,10 @@ from mmgen.common import *
class unit_tests:
altcoin_deps = ('keccak','py_ecc')
win_skip = ('aiohttp',)
altcoin_deps = ('pysha3','py_ecc')
win_skip = ('aiohttp','pysha3')
def keccak(self,name,ut): # ETH,XMR
def pysha3(self,name,ut): # ETH,XMR
from sha3 import keccak_256
return True

View file

@ -90,6 +90,7 @@ def run_test(network_ids,test_cf_auth=False,daemon_ids=None):
class unit_tests:
altcoin_deps = ('ltc','bch','eth','etc','xmrwallet')
win_skip = ('xmrwallet',) # FIXME - wallet doesn't open
def btc(self,name,ut):
return run_test(['btc','btc_tn'],test_cf_auth=True)

View file

@ -10,7 +10,7 @@ sec = 'deadbeef' * 8
class unit_tests:
altcoin_deps = ('pycoin','moneropy','keyconv','zcash_mini','ethkey')
win_skip = ('losetup',)
win_skip = ('losetup','moneropy','zcash_mini')
def core_repo(self,name,ut):
crr = os.getenv('CORE_REPO_ROOT')