From a843584fc210219a62472305d924de44ebb0ab02 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Wed, 15 Oct 2014 12:37:45 +0900 Subject: tests: Support newer ncurses with italic caps in xterm terminfo * tests/test-term-ostream-xterm-basic-italic.out: New file. * tests/test-term-ostream-xterm: Use it as possible test result. * Makefile.am (EXTRA_DIST): Add new files. Needed for ncurses >= 5.9-20140906 that defines sitm/ritm in the xterm-basic terminfo definition. --- gnulib-local/ChangeLog | 8 ++ gnulib-local/Makefile.am | 1 + gnulib-local/tests/test-term-ostream-xterm | 1 + .../tests/test-term-ostream-xterm-basic-italic.out | 131 +++++++++++++++++++++ 4 files changed, 141 insertions(+) create mode 100644 gnulib-local/tests/test-term-ostream-xterm-basic-italic.out (limited to 'gnulib-local') diff --git a/gnulib-local/ChangeLog b/gnulib-local/ChangeLog index 2a25405..6f031c6 100644 --- a/gnulib-local/ChangeLog +++ b/gnulib-local/ChangeLog @@ -1,3 +1,11 @@ +2014-10-15 Daiki Ueno + + * tests/test-term-ostream-xterm-basic-italic.out: New file. + * tests/test-term-ostream-xterm: Use it as possible test result. + * Makefile.am (EXTRA_DIST): Add new files. + Needed for ncurses >= 5.9-20140906 that defines sitm/ritm in the + xterm-basic terminfo definition. + 2014-07-14 Daiki Ueno * gettext 0.19.2 released. diff --git a/gnulib-local/Makefile.am b/gnulib-local/Makefile.am index 166b278..31bfaaf 100644 --- a/gnulib-local/Makefile.am +++ b/gnulib-local/Makefile.am @@ -315,6 +315,7 @@ tests/test-term-ostream-xterm \ tests/test-term-ostream-xterm-r6.out \ tests/test-term-ostream-xterm-xf86-v32.out \ tests/test-term-ostream-xterm-basic.out \ +tests/test-term-ostream-xterm-basic-italic.out \ tests/test-term-ostream-xterm-8bit.out \ tests/test-term-ostream-xterm-linux-debian.out \ tests/test-term-ostream-xterm-linux-mandriva.out \ diff --git a/gnulib-local/tests/test-term-ostream-xterm b/gnulib-local/tests/test-term-ostream-xterm index e4e1efb..71dc6eb 100755 --- a/gnulib-local/tests/test-term-ostream-xterm +++ b/gnulib-local/tests/test-term-ostream-xterm @@ -22,6 +22,7 @@ LC_ALL=C tr -d '\r' < out1 > out ${DIFF} ${srcdir}/test-term-ostream-xterm-r6.out out > /dev/null \ || ${DIFF} ${srcdir}/test-term-ostream-xterm-xf86-v32.out out > /dev/null \ || ${DIFF} ${srcdir}/test-term-ostream-xterm-basic.out out > /dev/null \ +|| ${DIFF} ${srcdir}/test-term-ostream-xterm-basic-italic.out out > /dev/null \ || ${DIFF} ${srcdir}/test-term-ostream-xterm-8bit.out out > /dev/null \ || ${DIFF} ${srcdir}/test-term-ostream-xterm-linux-debian.out out > /dev/null \ || ${DIFF} ${srcdir}/test-term-ostream-xterm-linux-mandriva.out out > /dev/null \ diff --git a/gnulib-local/tests/test-term-ostream-xterm-basic-italic.out b/gnulib-local/tests/test-term-ostream-xterm-basic-italic.out new file mode 100644 index 0000000..4d74f8a --- /dev/null +++ b/gnulib-local/tests/test-term-ostream-xterm-basic-italic.out @@ -0,0 +1,131 @@ +Colors (foreground/background): + |black |blue |green |cyan |red |magenta|yellow |white |default +black | Words | Words | Words | Words | Words | Words | Words | Words | Words  +blue | Words | Words | Words | Words | Words | Words | Words | Words | Words  +green | Words | Words | Words | Words | Words | Words | Words | Words | Words  +cyan | Words | Words | Words | Words | Words | Words | Words | Words | Words  +red | Words | Words | Words | Words | Words | Words | Words | Words | Words  +magenta| Words | Words | Words | Words | Words | Words | Words | Words | Words  +yellow | Words | Words | Words | Words | Words | Words | Words | Words | Words  +white | Words | Words | Words | Words | Words | Words | Words | Words | Words  +default| Words | Words | Words | Words | Words | Words | Words | Words | Words + +Colors (hue/saturation): +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   +   + +Weights: +normal, bold, (Bdefault + +Postures: +normal, italic, default + +Text decorations: +normal, underlined, default + -- cgit v1.1