##// END OF EJS Templates
tests: skip color test on platforms without tic
Mads Kiilerich -
r15539:d09ea5bb default
parent child Browse files
Show More
@@ -218,6 +218,9 b' def has_system_sh():'
218 def has_serve():
218 def has_serve():
219 return os.name != 'nt' # gross approximation
219 return os.name != 'nt' # gross approximation
220
220
221 def has_tic():
222 return matchoutput('test -x "`which tic`"', '')
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"),
@@ -248,6 +251,7 b' checks = {'
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"),
@@ -1,3 +1,5 b''
1 $ "$TESTDIR/hghave" tic || exit 80
2
1 $ echo "[extensions]" >> $HGRCPATH
3 $ echo "[extensions]" >> $HGRCPATH
2 $ echo "color=" >> $HGRCPATH
4 $ echo "color=" >> $HGRCPATH
3 $ echo "[color]" >> $HGRCPATH
5 $ echo "[color]" >> $HGRCPATH
General Comments 0
You need to be logged in to leave comments. Login now