##// END OF EJS Templates
tests: 'hghave tic' also requires curses support in Python...
Mads Kiilerich -
r20304:e457321a default
parent child Browse files
Show More
@@ -272,7 +272,12 b' def has_serve():'
272 272 return os.name != 'nt' # gross approximation
273 273
274 274 def has_tic():
275 return matchoutput('test -x "`which tic`"', '')
275 try:
276 import curses
277 curses.COLOR_BLUE
278 return matchoutput('test -x "`which tic`"', '')
279 except ImportError:
280 return False
276 281
277 282 def has_msys():
278 283 return os.getenv('MSYSTEM')
@@ -324,7 +329,7 b' checks = {'
324 329 "svn-bindings": (has_svn_bindings, "subversion python bindings"),
325 330 "symlink": (has_symlink, "symbolic links"),
326 331 "system-sh": (has_system_sh, "system() uses sh"),
327 "tic": (has_tic, "terminfo compiler"),
332 "tic": (has_tic, "terminfo compiler and curses module"),
328 333 "tla": (has_tla, "GNU Arch tla client"),
329 334 "unix-permissions": (has_unix_permissions, "unix-style permissions"),
330 335 "windows": (has_windows, "Windows"),
General Comments 0
You need to be logged in to leave comments. Login now