test-commit-interactive-curses: #require 'tic'
authorMatt Harbison <matt_harbison@yahoo.com>
Tue, 17 Mar 2015 22:21:09 -0400
changeset 24363 852801178a63
parent 24362 58682838f8f7
child 24364 135b23868f45
test-commit-interactive-curses: #require 'tic' When run on Windows, this test aborts: @@ -20,7 +20,8 @@ > X > EOF $ hg commit -i -m "a" -d "0 0" - no changes to record + abort: No module named fcntl! + [255] $ hg tip changeset: -1:000000000000 tag: tip Maybe there's another way to get the screen size on Windows (it dies in crecord.gethw()), but for now, quiet the test noise by skipping it if terminal info compiler is unavailable.
tests/test-commit-interactive-curses.t
--- a/tests/test-commit-interactive-curses.t	Tue Mar 17 21:48:34 2015 -0400
+++ b/tests/test-commit-interactive-curses.t	Tue Mar 17 22:21:09 2015 -0400
@@ -1,3 +1,4 @@
+#require tic
 Set up a repo
 
   $ cat <<EOF >> $HGRCPATH