1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Re-enable test on multibyte locale in Travis

* .travis.yml: Use Russian locale instead of Japanese since it seems to
be more complete
* contrib/travis-ci: Re-enable testing on a Russian locale
This commit is contained in:
Darshit Shah 2015-12-08 14:45:01 +01:00
parent 2257d3ebf8
commit 44937634a3
2 changed files with 4 additions and 10 deletions

View File

@ -9,8 +9,7 @@ notifications:
email:
recipients:
- darnir@gmail.com
- bug-wget@gnu.org
on_success: change
on_success: always
on_failure: always
env:
@ -42,7 +41,7 @@ addons:
- python3
- valgrind
- language-pack-tr
- language-pack-ja
- language-pack-ru
script:
- make distclean || true

View File

@ -14,7 +14,7 @@ esac
# For some reason. /proc/cpuinfo reports 16 cores on Travis, while the docs
# claim that each instance has only 2 cores. We believe the docs and force a
# value of only 2 here.
CORES=2
CORES=3
# Define a large number of Warning flags for the compiler. Hopefully, someone
# will sit and analyze the output to clean the warnings from the codebase.
@ -34,12 +34,7 @@ for options in "" "--disable-ipv6"; do
echo " ./configure $DISTCHECK_CONFIGURE_FLAGS CFLAGS=\"$CFLAGS\""
./configure $DISTCHECK_CONFIGURE_FLAGS CFLAGS="$CFLAGS"
# We would like to have more languages tested here. Currently, there is a
# problem in the translations file for Turkish which causes the progress bar
# to assert fail. Apart from that, at least one another language with multi
# byte and multi column characters.
# TODO: Add Japanese and Turkish LANG for test
for xLCALL in C; do
for xLCALL in "ru_RU.UTF-8" "C" "tr_TR.UTF-8"; do
export TESTS_ENVIRONMENT="LC_ALL=$xLCALL VALGRIND_TESTS=1"
echo " TESTS_ENVIRONMENT=\"$TESTS_ENVIRONMENT\" make distcheck CFLAGS=$CFLAGS -j$CORES"
make distcheck CFLAGS="$CFLAGS" -j$CORES