Skip gfmrun installation and tests below go1.3

This commit is contained in:
Dan Buch
2016-08-22 15:26:33 -04:00
parent 168c95418e
commit c0cf41eb54
2 changed files with 5 additions and 1 deletions

View File

@@ -57,6 +57,10 @@ def _test():
def _gfmrun():
go_version = check_output('go version'.split()).split()[2]
if go_version < 'go1.3':
print('runtests: skip on {}'.format(go_version), file=sys.stderr)
return
_run(['gfmrun', '-c', str(_gfmrun_count()), '-s', 'README.md'])