##// END OF EJS Templates
hghave: adjust the definition of `tic` to allow curses tests on Windows...
Matt Harbison -
r47038:ef771d32 default
parent child Browse files
Show More
@@ -708,6 +708,12 b' def has_tic():'
708 import curses
708 import curses
709
709
710 curses.COLOR_BLUE
710 curses.COLOR_BLUE
711
712 # Windows doesn't have a `tic` executable, but the windows_curses
713 # package is sufficient to run the tests without it.
714 if os.name == 'nt':
715 return True
716
711 return matchoutput('test -x "`which tic`"', br'')
717 return matchoutput('test -x "`which tic`"', br'')
712 except (ImportError, AttributeError):
718 except (ImportError, AttributeError):
713 return False
719 return False
General Comments 0
You need to be logged in to leave comments. Login now