make distclean
sh Configure -des -Dusedevel -Duse64bitall -Ud_strtod && make && make test
####
Failed 2 tests out of 2458, 99.92% okay.
../ext/POSIX/t/posix.t
run/locale.t
##
##
aitap@scratch:~/blead_patched/t$ ./perl harness ../ext/POSIX/t/posix.t
../ext/POSIX/t/posix.t .. 11/93 POSIX::strtod not implemented on this architecture at t/posix.t line 184.
# Looks like your test exited with 255 just after 16.
../ext/POSIX/t/posix.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 77/93 subtests
(less 2 skipped subtests: 14 okay)
Test Summary Report
-------------------
../ext/POSIX/t/posix.t (Wstat: 65280 Tests: 16 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 93 tests but ran 16.
Files=1, Tests=16, 3 wallclock secs ( 0.01 usr 0.00 sys + 0.06 cusr 0.00 csys = 0.07 CPU)
Result: FAIL
aitap@scratch:~/blead_patched/t$ ./perl -I../lib ../utils/prove -I../lib -v run/locale.t
Label not found for "last SKIP" at ./test.pl line 522.
run/locale.t ..
ok 1 - /il matching of [bracketed] doesn't skip POSIX class if fails individ char
ok 2 - /l matching of [bracketed] doesn't skip non-first POSIX class
ok 3 - retrieving current non-C LC_NUMERIC doesn't give 'C'
ok 4 - retrieving current non-C LC_ALL doesn't give 'C'
ok 5 - no locales where LC_NUMERIC breaks
ok 6 - LC_NUMERIC without environment nor setlocale() has no effect in any locale
ok 7 # skip no UTF-8 locale available where LC_NUMERIC radix isn't ASCII
# using the 'ru_RU.utf8' locale for LC_NUMERIC tests
ok 8 - format() does not look at LC_NUMERIC without 'use locale'
ok 9 - format() looks at LC_NUMERIC with 'use locale'
ok 10 - localeconv() looks at LC_NUMERIC with and without 'use locale'
ok 11 - format() does not look at LC_NUMERIC with 'use locale qw(:collate :characters :collate :ctype :monetary :time)'
ok 12 - format() looks at LC_NUMERIC with 'use locale'
ok 13 - format() looks at LC_NUMERIC with 'use locale ":!collate"'
ok 14 - format() looks at LC_NUMERIC with 'use locale ":not_collate"'
ok 15 - format() looks at LC_NUMERIC with 'use locale ":!characters"'
ok 16 - format() looks at LC_NUMERIC with 'use locale ":not_characters"'
ok 17 - format() looks at LC_NUMERIC with 'use locale ":!collate"'
ok 18 - format() looks at LC_NUMERIC with 'use locale ":not_collate"'
ok 19 - format() looks at LC_NUMERIC with 'use locale ":!ctype"'
ok 20 - format() looks at LC_NUMERIC with 'use locale ":not_ctype"'
ok 21 - format() looks at LC_NUMERIC with 'use locale ":!monetary"'
ok 22 - format() looks at LC_NUMERIC with 'use locale ":not_monetary"'
ok 23 - format() looks at LC_NUMERIC with 'use locale ":!time"'
ok 24 - format() looks at LC_NUMERIC with 'use locale ":not_time"'
ok 25 - format() looks at LC_NUMERIC with 'use locale ":numeric"'
ok 26 - too late to look at the locale at write() time
ok 27 - too late to ignore the locale at write() time
ok 28 - version does not clobber version
ok 29 - version does not clobber version (via eval)
ok 30 - sprintf() and printf() look at LC_NUMERIC regardless of constant folding
ok 31 - Uses the above test to verify that on Windows the system default locale has lower priority than LC_NUMERIC
ok 32 - LANG is used if LC_ALL, LC_NUMERIC are invalid
ok 33 - C locale is used if LC_ALL, LC_NUMERIC, LANG are invalid
ok 34 - No compile error on v-strings when setting the locale to non-dot radix at compile time when default environment has non-dot radix
ok 35 - Radix print properly in locale scope, and without
ok 36 - Can do math when radix is a comma
ok 37 # skip no strtod()
Dubious, test returned 255 (wstat 65280, 0xff00)
All 37 subtests passed
(less 2 skipped subtests: 35 okay)
Test Summary Report
-------------------
run/locale.t (Wstat: 65280 Tests: 37 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=1, Tests=37, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.36 cusr 0.04 csys = 0.42 CPU)
Result: FAIL
##
##
--- - 2018-07-29 12:13:19.135366517 +0000
+++ blead_patched/t/run/locale.t 2018-07-29 12:11:11.460779426 +0000
@@ -438,6 +438,7 @@
EOF
"1,5\n2,5", { stderr => 'devnull' }, "Can do math when radix is a comma"); # [perl 115800]
+ SKIP: {
unless ($have_strtod) {
skip("no strtod()", 1);
}
@@ -451,6 +452,7 @@
EOF
"1.5", { stderr => 'devnull' }, "POSIX::strtod() uses underlying locale");
}
+ }
}
}
--- - 2018-07-29 12:15:30.325048593 +0000
+++ blead_patched/ext/POSIX/t/posix.t 2018-07-29 12:14:55.656784754 +0000
@@ -174,6 +174,7 @@
SKIP: {
skip("strtold() not present", 2) unless $Config{d_strtold};
+ skip("strtod() not present", 2) unless $Config{d_strtod};
if (locales_enabled('LC_NUMERIC')) {
$lc = &POSIX::setlocale(&POSIX::LC_NUMERIC);