tests/hghave
branchstable
changeset 13442 bb107a31820e
parent 13418 28555e294104
child 13543 c17e4d881722
equal deleted inserted replaced
13441:b366a5e021c6 13442:bb107a31820e
   106         import _lsprof
   106         import _lsprof
   107         return True
   107         return True
   108     except ImportError:
   108     except ImportError:
   109         return False
   109         return False
   110 
   110 
       
   111 def has_gettext():
       
   112     return matchoutput('msgfmt --version', 'GNU gettext-tools')
       
   113 
   111 def has_git():
   114 def has_git():
   112     return matchoutput('git --version 2>&1', r'^git version')
   115     return matchoutput('git --version 2>&1', r'^git version')
   113 
   116 
   114 def has_docutils():
   117 def has_docutils():
   115     try:
   118     try:
   187     "darcs": (has_darcs, "darcs client"),
   190     "darcs": (has_darcs, "darcs client"),
   188     "docutils": (has_docutils, "Docutils text processing library"),
   191     "docutils": (has_docutils, "Docutils text processing library"),
   189     "eol-in-paths": (has_eol_in_paths, "end-of-lines in paths"),
   192     "eol-in-paths": (has_eol_in_paths, "end-of-lines in paths"),
   190     "execbit": (has_executablebit, "executable bit"),
   193     "execbit": (has_executablebit, "executable bit"),
   191     "fifo": (has_fifo, "named pipes"),
   194     "fifo": (has_fifo, "named pipes"),
       
   195     "gettext": (has_gettext, "GNU Gettext (msgfmt)"),
   192     "git": (has_git, "git command line client"),
   196     "git": (has_git, "git command line client"),
   193     "gpg": (has_gpg, "gpg client"),
   197     "gpg": (has_gpg, "gpg client"),
   194     "icasefs": (has_icasefs, "case insensitive file system"),
   198     "icasefs": (has_icasefs, "case insensitive file system"),
   195     "inotify": (has_inotify, "inotify extension support"),
   199     "inotify": (has_inotify, "inotify extension support"),
   196     "lsprof": (has_lsprof, "python lsprof module"),
   200     "lsprof": (has_lsprof, "python lsprof module"),