Skip to content

Commit d520c87

Browse files
committed
debugging
1 parent 7749fed commit d520c87

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/workflows/testsuite.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ jobs:
289289
LD_LIBRARY_PATH=`pwd` ./perl -Ilib -e 'use Config; print Config::config_sh'
290290
- name: Run Tests
291291
run: |
292-
LD_LIBRARY_PATH=`pwd` MALLOC_PERTURB_=254 MALLOC_CHECK_=3 TEST_JOBS=2 make -j2 test
292+
LD_LIBRARY_PATH=`pwd` MALLOC_PERTURB_=254 MALLOC_CHECK_=3 TEST_JOBS=2 ./perl t/harness
293293
- name: git clean
294294
run: |
295295
git clean -dxf
@@ -353,7 +353,7 @@ jobs:
353353
git config diff.renameLimit 999999
354354
- name: Configure
355355
run: |
356-
./Configure -des -Dusedevel ${{ matrix.CONFIGURE_ARGS }} -Dprefix="$HOME/perl-blead"
356+
./Configure -des -DDEBUGGING -Dusedevel ${{ matrix.CONFIGURE_ARGS }} -Dprefix="$HOME/perl-blead"
357357
- name: Build
358358
run: |
359359
MALLOC_PERTURB_=254 MALLOC_CHECK_=3 make -j2
@@ -402,7 +402,7 @@ jobs:
402402
LD_LIBRARY_PATH=`pwd` ./perl -Ilib -e 'use Config; print Config::config_sh'
403403
- name: Run Tests
404404
run: |
405-
MALLOC_PERTURB_=254 MALLOC_CHECK_=3 TEST_JOBS=2 make -j2 test
405+
MALLOC_PERTURB_=254 MALLOC_CHECK_=3 TEST_JOBS=2 make -j2 test_harness
406406
- name: Install
407407
run: |
408408
MALLOC_PERTURB_=254 MALLOC_CHECK_=3 TEST_JOBS=2 make -j2 install
@@ -451,7 +451,7 @@ jobs:
451451
./perl -Ilib -e 'use Config; print Config::config_sh'
452452
- name: Run Tests
453453
run: |
454-
MALLOC_PERTURB_=254 MALLOC_CHECK_=3 TEST_JOBS=2 make -j2 test
454+
TEST_JOBS=2 ./perl t/harness
455455
456456
# _ _
457457
# __ __ _(_)_ _ __| |_____ __ _____

ext/POSIX/t/time.t

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ SKIP: { # GH #23878: test that dst spring forward works properly; use a
268268
# locale that MS narcissism should be able to handle
269269
my $skip_count = 9;
270270
skip "No mktime()", $skip_count if $Config{d_mktime} ne 'define';
271+
$^D |= 0x04000000|0x00100000 ;
271272
my $locale = "PST8PDT";
272273
$ENV{TZ} = $locale;
273274
POSIX::tzset();
@@ -293,4 +294,5 @@ SKIP: { # GH #23878: test that dst spring forward works properly; use a
293294
is(POSIX::strftime("%F %T%z", localtime $t + $spring[$i][0]),
294295
$spring[$i][1], $spring[$i][2]);
295296
}
297+
$^D &= ~(67108864|1048576 );
296298
}

locale.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8268,7 +8268,9 @@ but sufficiently negative values (for earlier than 1900) may have different
82688268
results on different systems and locales. Some libc implementations may know
82698269
when a given locale adopted the Greorian calendar, and adjust for that.
82708270
Others will not. (And some countries didn't adopt the Gregorian calendar
8271-
until after 1900.)
8271+
until after 1900.) Probably all implementations assume modern time zones go
8272+
back forever, before they were invented starting in the last half of the 19th
8273+
century.
82728274
82738275
The treatment of the C<isdst> field has varied over previous Perl versions,
82748276
and has been buggy (both by perl and by some libc implementations), but is now

0 commit comments

Comments
 (0)