Merge with stable
authorChristian Ebert <blacktrash@gmx.net>
Mon, 21 Nov 2011 11:52:11 +0000
changeset 1028 a08af90d2bcc
parent 1025 c1ee4cc36089 (current diff)
parent 1027 f8c2547c8f16 (diff)
child 1029 ab16e060541e
Merge with stable
--- a/tests/hghave	Fri Nov 18 11:06:59 2011 +0000
+++ b/tests/hghave	Mon Nov 21 11:52:11 2011 +0000
@@ -218,6 +218,9 @@
 def has_serve():
     return os.name != 'nt' # gross approximation
 
+def has_tic():
+    return matchoutput('test -x "`which tic`"', '')
+
 checks = {
     "baz": (has_baz, "GNU Arch baz client"),
     "bzr": (has_bzr, "Canonical's Bazaar client"),
@@ -248,6 +251,7 @@
     "svn-bindings": (has_svn_bindings, "subversion python bindings"),
     "symlink": (has_symlink, "symbolic links"),
     "system-sh": (has_system_sh, "system() uses sh"),
+    "tic": (has_tic, "terminfo compiler"),
     "tla": (has_tla, "GNU Arch tla client"),
     "unix-permissions": (has_unix_permissions, "unix-style permissions"),
     "windows": (has_windows, "Windows"),