On 2015-10-07 08:18, Daiki Ueno wrote:
Michael Felt<mamf...@gmail.com> writes:
It seems that starting with 0.9.15 tests that previously passed
in 0.19.4 now FAIL.
This is as far as I got with 0.19.6
Could you provide gettext-tools/tests/test-suite.log for further
investigation? I suppose you are on AIX, right?
Thanks,
I can now. It seems that make was failing when it started to make
test-suite.log. In the Makefile I removed the @ character to see if make
check even got that far - this is (a snippet) of what I see:
PASS: cldr-plurals-1
bases='gettext-1.log gettext-2.log gettext-3.log gettext-4.log
gettext-5.log gettext-6.log gettext-7.log gettext-8.log ...
autopoint-1.log autopoint-2.log autopoint-3.log cldr-plurals-1.log';
bases=`for i in $bases; do echo $i; done | sed 's/\.log$//'`;
bases=`echo $bases`; am__f_ok () { test -f "$1" && test -r "$1"; };
redo_bases=`for i in $bases; do \
am__f_ok $i.trs && am__f_ok $i.log || echo $i; \
done`; if test -n "$redo_bases"; then
redo_logs=`for i in $redo_bases; do echo $i.log; done`;
redo_results=`for i in $redo_bases; do echo $i.trs; done`; if
(target_option=n; case ${target_option-} in ?) ;; *) echo
"am__make_running_with_option: internal error: invalid" "target option
'${target_option-}' specified" >&2; exit 1;; esac; has_opt=no;
sane_makeflags=$MAKEFLAGS; if { if test -z ''; then false; elif test
-n ''; then true; elif test -n '' && test -n ''; then true; else
false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in
*\\[\ \ ]*) bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" \
| sed "s/$bs$bs[$bs $bs ]*//g"`;; esac; fi;
skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed
"s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes
&& { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I)
strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O)
strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l)
strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';;
-[dEDm]) skip_next=yes;; -[JT]) skip_next=yes;; esac; case $flg in
*$target_option*) has_opt=yes; break;; esac; done; test $has_opt =
yes); then :; else rm -f $redo_logs && rm -f $redo_results || exit 1;
fi; fi; if test -n "$am__remaking_logs"; then echo "fatal: making
test-suite.log: possible infinite" "recursion detected" >&2; elif test
-n "$redo_logs"; then am__remaking_logs=yes make $redo_logs; fi; if
(target_option=n; case ${target_option-} in ?) ;; *) echo
"am__make_running_with_option: internal error: invalid" "target option
'${target_option-}' specified" >&2; exit 1;; esac; has_opt=no;
sane_makeflags=$MAKEFLAGS; if { if test -z ''; then false; elif test
-n ''; then true; elif test -n '' && test -n ''; then true; else
false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in
*\\[\ \ ]*) bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" \
| sed "s/$bs$bs[$bs $bs ]*//g"`;; esac; fi;
skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed
"s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes
&& { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I)
strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O)
strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l)
strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';;
-[dEDm]) skip_next=yes;; -[JT]) skip_next=yes;; esac; case $flg in
*$target_option*) has_opt=yes; break;; esac; done; test $has_opt =
yes); then :; else st=0; errmsg="fatal: making test-suite.log: failed
to create"; for i in $redo_bases; do test -f $i.trs && test -r $i.trs
|| { echo "$errmsg $i.trs" >&2; st=1; }; test -f $i.log && test -r
$i.log || { echo "$errmsg $i.log" >&2; st=1; }; done; test $st -eq 0
|| exit 1; fi
/bin/sh: not found
make: 1254-004 The error code from the last command is 1.
Somewhere in here it seems their is a shell issue.
However,
root@x064:[/data/prj/gnu/gettext/gettext-0.19.6/gettext-tools/tests]make
test-suite.log
"succeeds" with:
g="fatal: making test-suite.log: failed to create"; for i in
$redo_bases; do test -f $i.trs && test -r $i.trs || { echo "$errmsg
$i.trs" >&2; st=1; }; test -f $i.log && test -r $i.log || { echo
"$errmsg $i.log" >&2; st=1; }; done; test $st -eq 0 || exit 1; fi
============================================================================
Testsuite summary for gettext-tools 0.19.6
============================================================================
# TOTAL: 408
# PASS: 376
# SKIP: 0
# XFAIL: 0
# FAIL: 32
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to bug-gnu-gett...@gnu.org
============================================================================
make: 1254-004 The error code from the last command is 1.
root@x064:[/data/prj/gnu/gettext/gettext-0.19.6/gettext-tools/tests]ls
-l test*log
-rw-r--r-- 1 root system 6796 Oct 23 18:03 test-suite.log
root@x064:[/data/prj/gnu/gettext/gettext-0.19.6/gettext-tools/tests]
And is attached.
Quick question (again) - what is the syntax to run a single test. I
could start debugging with tests that passed on 0.19.4 and are failing now.
================================================
gettext-tools 0.19.6: tests/test-suite.log
================================================
# TOTAL: 408
# PASS: 376
# SKIP: 0
# XFAIL: 0
# FAIL: 32
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: msgcat-2
==============
msgcat: Cannot convert from "ISO-8859-1" to "UTF-8". msgcat relies on iconv().
This version was built without iconv().
FAIL msgcat-2 (exit status: 1)
FAIL: msgcat-3
==============
msgcat: Cannot convert from "ISO-8859-1" to "UTF-8". msgcat relies on iconv().
This version was built without iconv().
FAIL msgcat-3 (exit status: 1)
FAIL: msgcat-4
==============
msgcat: Cannot convert from "ISO-8859-1" to "UTF-8". msgcat relies on iconv().
This version was built without iconv().
FAIL msgcat-4 (exit status: 1)
FAIL: msgcomm-4
===============
msgcomm: Cannot convert from "ASCII" to "ISO-8859-1". msgcomm relies on
iconv(). This version was built without iconv().
FAIL msgcomm-4 (exit status: 1)
FAIL: msgcomm-5
===============
msgcomm: Cannot convert from "ASCII" to "ISO-8859-1". msgcomm relies on
iconv(). This version was built without iconv().
FAIL msgcomm-5 (exit status: 1)
FAIL: msgcomm-6
===============
msgcomm: Cannot convert from "ASCII" to "ISO-8859-1". msgcomm relies on
iconv(). This version was built without iconv().
FAIL msgcomm-6 (exit status: 1)
FAIL: msgcomm-7
===============
msgcomm: Cannot convert from "ASCII" to "ISO-8859-1". msgcomm relies on
iconv(). This version was built without iconv().
FAIL msgcomm-7 (exit status: 1)
FAIL: msgcomm-16
================
msgcomm: Cannot convert from "ISO-8859-1" to "UTF-8". msgcomm relies on
iconv(). This version was built without iconv().
FAIL msgcomm-16 (exit status: 1)
FAIL: msgconv-1
===============
msgconv: Cannot convert from "BIG5" to "UTF-8". msgconv relies on iconv(). This
version was built without iconv().
FAIL msgconv-1 (exit status: 1)
FAIL: msgconv-2
===============
msgconv: Cannot convert from "UTF-8" to "BIG5". msgconv relies on iconv(). This
version was built without iconv().
FAIL msgconv-2 (exit status: 1)
FAIL: msgconv-5
===============
msgconv: Cannot convert from "ISO-8859-1" to "UTF-8". msgconv relies on
iconv(). This version was built without iconv().
FAIL msgconv-5 (exit status: 1)
FAIL: msgconv-6
===============
msgconv: Cannot convert from "UTF-8" to "ISO-8859-1". msgconv relies on
iconv(). This version was built without iconv().
FAIL msgconv-6 (exit status: 1)
FAIL: msgconv-7
===============
msgconv: Cannot convert from "BIG5" to "UTF-8". msgconv relies on iconv(). This
version was built without iconv().
FAIL msgconv-7 (exit status: 1)
FAIL: msgfilter-sr-latin-1
==========================
msgfilter: Cannot convert from "CP1251" to "UTF-8". msgfilter relies on
iconv(). This version was built without iconv().
FAIL msgfilter-sr-latin-1 (exit status: 1)
FAIL: msgfilter-quote-1
=======================
FAIL msgfilter-quote-1 (exit status: 1)
FAIL: msgfmt-properties-1
=========================
msgcat: Cannot convert from "ASCII" to "UTF-8". msgcat relies on iconv(). This
version was built without iconv().
FAIL msgfmt-properties-1 (exit status: 1)
FAIL: msgfmt-qt-1
=================
msgfmt: Cannot convert from "ISO-8859-2" to "UTF-8". msgfmt relies on iconv().
This version was built without iconv().
FAIL msgfmt-qt-1 (exit status: 1)
FAIL: msgmerge-14
=================
msgmerge: Cannot convert from "KOI8-R" to "UTF-8". msgmerge relies on iconv().
This version was built without iconv().
FAIL msgmerge-14 (exit status: 1)
FAIL: msgmerge-16
=================
msgmerge: Cannot convert from "ISO-8859-2" to "UTF-8". msgmerge relies on
iconv(). This version was built without iconv().
FAIL msgmerge-16 (exit status: 1)
FAIL: msgmerge-compendium-1
===========================
msgmerge: Cannot convert from "ASCII" to "UTF-8". msgmerge relies on iconv().
This version was built without iconv().
FAIL msgmerge-compendium-1 (exit status: 1)
FAIL: msgmerge-compendium-2
===========================
msgmerge: Cannot convert from "ASCII" to "UTF-8". msgmerge relies on iconv().
This version was built without iconv().
FAIL msgmerge-compendium-2 (exit status: 1)
FAIL: msgmerge-compendium-3
===========================
msgmerge: Cannot convert from "ASCII" to "UTF-8". msgmerge relies on iconv().
This version was built without iconv().
FAIL msgmerge-compendium-3 (exit status: 1)
FAIL: msgmerge-compendium-6
===========================
msgconv: Cannot convert from "ASCII" to "UTF-8". msgconv relies on iconv().
This version was built without iconv().
msgconv: Cannot convert from "EUC-KR" to "UTF-8". msgconv relies on iconv().
This version was built without iconv().
msgconv: Cannot convert from "EUC-KR" to "UTF-8". msgconv relies on iconv().
This version was built without iconv().
msgmerge: error while opening "mm-ko-comp.utf-8.po" for reading: A file or
directory in the path name does not exist.
FAIL msgmerge-compendium-6 (exit status: 1)
FAIL: msgunfmt-properties-1
===========================
msgunfmt: Cannot convert from "ASCII" to "UTF-8". msgunfmt relies on iconv().
This version was built without iconv().
FAIL msgunfmt-properties-1 (exit status: 1)
FAIL: msguniq-4
===============
msgcat: Cannot convert from "ISO-8859-1" to "UTF-8". msgcat relies on iconv().
This version was built without iconv().
FAIL msguniq-4 (exit status: 1)
FAIL: xgettext-5
================
xgettext: Cannot convert from "ISO-8859-2" to "UTF-8". xgettext relies on
iconv(). This version was built without iconv().
FAIL xgettext-5 (exit status: 1)
FAIL: xgettext-8
================
xgettext: Cannot convert from "ISO-8859-1" to "UTF-8". xgettext relies on
iconv(). This version was built without iconv().
FAIL xgettext-8 (exit status: 1)
FAIL: xgettext-c-19
===================
err1.c:2: warning: invalid Unicode character
xgettext: Cannot convert from "EUC-JP" to "UTF-8". xgettext relies on iconv().
This version was built without iconv().
FAIL xgettext-c-19 (exit status: 1)
FAIL: xgettext-java-2
=====================
FAIL xgettext-java-2 (exit status: 1)
FAIL: xgettext-python-3
=======================
xgettext: Cannot convert from "EUC-JP" to "UTF-8". xgettext relies on iconv().
This version was built without iconv().
FAIL xgettext-python-3 (exit status: 1)
FAIL: format-sh-1
=================
xgettext: Cannot convert from "ISO-8859-1" to "UTF-8". xgettext relies on
iconv(). This version was built without iconv().
rm: 0653-611 Directory
/data/prj/gnu/gettext/gettext-0.19.6/gettext-tools/tests/gt-format-sh-1.8pSa is
not empty.
FAIL format-sh-1 (exit status: 1)
FAIL: lang-tcl
==============
msgfmt: Cannot convert from "ISO-8859-1" to "UTF-8". msgfmt relies on iconv().
This version was built without iconv().
FAIL lang-tcl (exit status: 1)