codecoverage/bot: Add system check for robustcheckout and genhtml (#2219)
This commit is contained in:
Родитель
cecb3c224e
Коммит
88f4338294
|
@ -13,13 +13,14 @@ def test_mercurial():
|
|||
|
||||
# Check mercurial version
|
||||
output = run_check(['hg', 'version', '-T', '{ver}'])
|
||||
assert output.decode('utf-8') == '4.8'
|
||||
assert output.decode('utf-8').startswith('4.8')
|
||||
|
||||
# Check needed extensions
|
||||
output = run_check(['hg', 'version', '-T', '{extensions}'])
|
||||
extensions = output.decode('utf-8').split('\n')
|
||||
assert 'hgmo' in extensions
|
||||
assert 'pushlog' in extensions
|
||||
assert 'robustcheckout' in extensions
|
||||
|
||||
|
||||
def test_grcov():
|
||||
|
@ -27,3 +28,10 @@ def test_grcov():
|
|||
Test grcov is available on the system
|
||||
'''
|
||||
assert shutil.which('grcov'), 'Missing grcov'
|
||||
|
||||
|
||||
def test_genhtml():
|
||||
'''
|
||||
Test genhtml is available on the system
|
||||
'''
|
||||
assert shutil.which('genhtml'), 'Missing genhtml'
|
||||
|
|
Загрузка…
Ссылка в новой задаче