summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
235a779)
To avoid noisy warnings from some tests that implicitly expect to be
run under an UTF-8 locale.
Signed-off-by: Niels Thykier <niels@thykier.net>
install_data := install -m644 -p
PERL ?= /usr/bin/perl
install_data := install -m644 -p
PERL ?= /usr/bin/perl
+# Some tests need to run under an UTF-8 locale.
+UTF8_LOCALE ?= C.UTF-8
$(MAKE) -f Makefile.perl
test:
$(MAKE) -f Makefile.perl
test:
- $(PERL) -MTest::Harness -I. -e 'runtests(glob(q(t/*.t)))'
+ LC_ALL=$(UTF8_LOCALE) $(PERL) -MTest::Harness -I. -e 'runtests(glob(q(t/*.t)))'
- $(PERL) -MTest::Harness -I. -e 'runtests(q($<))'
+ LC_ALL=$(UTF8_LOCALE) $(PERL) -MTest::Harness -I. -e 'runtests(q($<))'
- PERL5LIB=t/cover_lib/:. cover -test
+ LC_ALL=$(UTF8_LOCALE) PERL5LIB=t/cover_lib/:. cover -test
clean:
if [ -e Makefile.perl ]; then \
clean:
if [ -e Makefile.perl ]; then \