File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,10 @@ use I18N::Langinfo 'langinfo', @langinfo;
131
131
132
132
# =1 adds debugging output; =2 increases the verbosity somewhat
133
133
our $debug = $ENV {PERL_DEBUG_FULL_TEST } // 0;
134
+ if ($^O =~ / cygwin | darwin /xi ) {
135
+ $debug = 1 ;
136
+ $^D = 0x04000000|0x00100000;# if $^O eq 'cygwin';
137
+ }
134
138
135
139
# Certain tests have been shown to be problematical for a few locales. Don't
136
140
# fail them unless at least this percentage of the tested locales fail.
@@ -204,14 +208,17 @@ sub ok {
204
208
print " ok " . ++$test_num ;
205
209
print " $message " ;
206
210
print " \n " ;
211
+ debug __FILE__ . " : " , __LINE__ . " : ok=$result $test_num $message " if $debug ;
207
212
return ($result ) ? 1 : 0;
208
213
}
209
214
210
215
sub skip {
216
+ debug __FILE__ . " : " , __LINE__ . " : skip $_ [0]" if $debug ;
211
217
return ok 1, " skipped: " . shift ;
212
218
}
213
219
214
220
sub fail {
221
+ debug __FILE__ . " : " , __LINE__ . " : fail $_ [0]" if $debug ;
215
222
return ok 0, shift ;
216
223
}
217
224
You can’t perform that action at this time.
0 commit comments