tests/hghave
changeset 1028 a08af90d2bcc
parent 1027 f8c2547c8f16
child 1031 b914fc162545
equal deleted inserted replaced
1025:c1ee4cc36089 1028:a08af90d2bcc
   215 def has_system_sh():
   215 def has_system_sh():
   216     return os.name != 'nt'
   216     return os.name != 'nt'
   217 
   217 
   218 def has_serve():
   218 def has_serve():
   219     return os.name != 'nt' # gross approximation
   219     return os.name != 'nt' # gross approximation
       
   220 
       
   221 def has_tic():
       
   222     return matchoutput('test -x "`which tic`"', '')
   220 
   223 
   221 checks = {
   224 checks = {
   222     "baz": (has_baz, "GNU Arch baz client"),
   225     "baz": (has_baz, "GNU Arch baz client"),
   223     "bzr": (has_bzr, "Canonical's Bazaar client"),
   226     "bzr": (has_bzr, "Canonical's Bazaar client"),
   224     "bzr114": (has_bzr114, "Canonical's Bazaar client >= 1.14"),
   227     "bzr114": (has_bzr114, "Canonical's Bazaar client >= 1.14"),
   246     "svn13": (has_svn13, "subversion client and admin tools >= 1.3"),
   249     "svn13": (has_svn13, "subversion client and admin tools >= 1.3"),
   247     "svn15": (has_svn15, "subversion client and admin tools >= 1.5"),
   250     "svn15": (has_svn15, "subversion client and admin tools >= 1.5"),
   248     "svn-bindings": (has_svn_bindings, "subversion python bindings"),
   251     "svn-bindings": (has_svn_bindings, "subversion python bindings"),
   249     "symlink": (has_symlink, "symbolic links"),
   252     "symlink": (has_symlink, "symbolic links"),
   250     "system-sh": (has_system_sh, "system() uses sh"),
   253     "system-sh": (has_system_sh, "system() uses sh"),
       
   254     "tic": (has_tic, "terminfo compiler"),
   251     "tla": (has_tla, "GNU Arch tla client"),
   255     "tla": (has_tla, "GNU Arch tla client"),
   252     "unix-permissions": (has_unix_permissions, "unix-style permissions"),
   256     "unix-permissions": (has_unix_permissions, "unix-style permissions"),
   253     "windows": (has_windows, "Windows"),
   257     "windows": (has_windows, "Windows"),
   254 }
   258 }
   255 
   259