Bug#626125: perl: sh4: Please lengthen time-out time for t/re/re.t

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Mon May 9 02:59:40 UTC 2011


Source: perl
Version: 5.12.3-6
Severity: wishlist
Tags: patch
User: debian-sh4 at superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh at lists.debian.org

Hi,

When we carry out this test on SH4, it becomes the time-out.
2 seconds are set in watchdog, but are too short for SH4.
This patch was changed for 10 seconds.

http://buildd.debian-ports.org/status/fetch.php?pkg=perl&arch=sh4&ver=5.12.3-6&stamp=1304403673
----
t/re/pat_re_eval_thr...........................................ok
t/re/pat_rt_report.............................................ok
t/re/pat_rt_report_thr.........................................ok
t/re/pat_special_cc............................................ok
t/re/pat_special_cc_thr........................................ok
t/re/pat_thr...................................................ok
t/re/qr........................................................ok
t/re/qr_gc.....................................................ok
t/re/qrstack...................................................ok
# Test process timed out - terminating
t/re/re........................................................FAILED--expected
19 tests, saw 18
t/re/reg_60508.................................................ok
t/re/reg_email.................................................ok
t/re/reg_email_thr.............................................ok
t/re/reg_fold..................................................ok
----

----
$ time ./perl  t/re/re.t
1..19
ok 1 - is_regexp(REGEXP ref)
ok 2 - is_regexp(REGEXP)
ok 3 - is_regexp("")
ok 4 - regexp_pattern[0] (ref)
ok 5 - regexp_pattern[1] (ref)
ok 6 - scalar regexp_pattern (ref)
ok 7 - regexp_pattern[0] (bare REGEXP)
ok 8 - regexp_pattern[1] (bare REGEXP)
ok 9 - scalar regexp_pattern (bare REGEXP)
ok 10 - !regexp_pattern("")
ok 11 - regnames
ok 12 - regnames
ok 13 - regnames in scalar context
ok 14 - regnames
ok 15
ok 16
ok 17
ok 18
# Test process timed out - terminating
Killed

real    0m4.326s
user    0m1.960s
sys     0m0.020s
----

After lengthen time-out time for t/re/re.t:
----
$ time ./perl  t/re/re.t
1..19
ok 1 - is_regexp(REGEXP ref)
ok 2 - is_regexp(REGEXP)
ok 3 - is_regexp("")
ok 4 - regexp_pattern[0] (ref)
ok 5 - regexp_pattern[1] (ref)
ok 6 - scalar regexp_pattern (ref)
ok 7 - regexp_pattern[0] (bare REGEXP)
ok 8 - regexp_pattern[1] (bare REGEXP)
ok 9 - scalar regexp_pattern (bare REGEXP)
ok 10 - !regexp_pattern("")
ok 11 - regnames
ok 12 - regnames
ok 13 - regnames in scalar context
ok 14 - regnames
ok 15
ok 16
ok 17
ok 18
ok 19 - Didn't loop

real    0m7.482s
user    0m3.848s
sys     0m0.036s
----

I made patch to fix this. Could you apply this patch?

Best regards,
 Nobuhiro
-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: perl_re.t_sh4_timeout.diff
Type: text/x-patch
Size: 1233 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20110509/ab9b2eb7/attachment-0001.bin>


More information about the Perl-maintainers mailing list