Skip to content

Commit a2eeaab

Browse files
committed
debugging
1 parent 7749fed commit a2eeaab

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.github/workflows/testsuite.yml

Lines changed: 5 additions & 6 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
@@ -363,8 +363,7 @@ jobs:
363363
LD_LIBRARY_PATH=`pwd` ./perl -Ilib -e 'use Config; print Config::config_sh'
364364
env
365365
# Leaving this as `make test` so that we test the `test` target on regular
366-
# Linux.
367-
# linux-i386 is just one job (not a matrix)
366+
job (not a matrix)
368367
- name: Run Tests
369368
run: |
370369
MALLOC_PERTURB_=254 MALLOC_CHECK_=3 make -j2 test
@@ -402,7 +401,7 @@ jobs:
402401
LD_LIBRARY_PATH=`pwd` ./perl -Ilib -e 'use Config; print Config::config_sh'
403402
- name: Run Tests
404403
run: |
405-
MALLOC_PERTURB_=254 MALLOC_CHECK_=3 TEST_JOBS=2 make -j2 test
404+
MALLOC_PERTURB_=254 MALLOC_CHECK_=3 TEST_JOBS=2 make -j2 test_harness
406405
- name: Install
407406
run: |
408407
MALLOC_PERTURB_=254 MALLOC_CHECK_=3 TEST_JOBS=2 make -j2 install
@@ -451,7 +450,7 @@ jobs:
451450
./perl -Ilib -e 'use Config; print Config::config_sh'
452451
- name: Run Tests
453452
run: |
454-
MALLOC_PERTURB_=254 MALLOC_CHECK_=3 TEST_JOBS=2 make -j2 test
453+
TEST_JOBS=2 ./perl t/harness
455454
456455
# _ _
457456
# __ __ _(_)_ _ __| |_____ __ _____

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)