Patchwork [3,of,5,STABLE] tests: add test-commit-interactive-curses.t "require tic" for test portability

login
register
mail settings
Submitter Katsunori FUJIWARA
Date Oct. 28, 2016, 6:16 p.m.
Message ID <141cb12c0175d9e4fbda.1477678608@juju>
Download mbox | patch
Permalink /patch/17215/
State Accepted
Headers show

Comments

Katsunori FUJIWARA - Oct. 28, 2016, 6:16 p.m.
# HG changeset patch
# User FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
# Date 1477678088 -32400
#      Sat Oct 29 03:08:08 2016 +0900
# Branch stable
# Node ID 141cb12c0175d9e4fbdab1f69d99be24d50ce3f4
# Parent  fe612ab5eeff700b808a1d85013fa3472517a3d6
tests: add test-commit-interactive-curses.t "require tic" for test portability

Standard library of Python on Windows doesn't have curses module.
Yuya Nishihara - Oct. 29, 2016, 3:07 a.m.
On Sat, 29 Oct 2016 03:16:48 +0900, FUJIWARA Katsunori wrote:
> # HG changeset patch
> # User FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
> # Date 1477678088 -32400
> #      Sat Oct 29 03:08:08 2016 +0900
> # Branch stable
> # Node ID 141cb12c0175d9e4fbdab1f69d99be24d50ce3f4
> # Parent  fe612ab5eeff700b808a1d85013fa3472517a3d6
> tests: add test-commit-interactive-curses.t "require tic" for test portability
> 
> Standard library of Python on Windows doesn't have curses module.

Queued the first three, thanks.

Patch

diff --git a/tests/test-commit-interactive-curses.t b/tests/test-commit-interactive-curses.t
--- a/tests/test-commit-interactive-curses.t
+++ b/tests/test-commit-interactive-curses.t
@@ -1,3 +1,5 @@ 
+#require tic
+
 Set up a repo
 
   $ cp $HGRCPATH $HGRCPATH.pretest