Commit dc757127 authored by Anton Shestakov's avatar Anton Shestakov
Browse files

tests: use hghaveaddon.py to check for check-manifest

parent 6a50faea786d
Pipeline #6361 failed with stage
in 3 minutes and 50 seconds
......@@ -23,3 +23,8 @@ def has_flake8():
return False
else:
return True
@hghave.check("check-manifest", "check-manifest MANIFEST.in checking tool")
def has_check_manifest():
return hghave.matchoutput('check-manifest --version 2>&1',
br'check-manifest version')
#require test-repo
#require test-repo check-manifest
$ checkcm() {
> if ! (which check-manifest > /dev/null); then
> echo skipped: missing tool: check-manifest;
> exit 80;
> fi;
> };
$ checkcm
$ cat << EOF >> $HGRCPATH
> [experimental]
> evolution=all
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment