Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #41707] [TODO] Tcl - relocate stub files

5 views
Skip to first unread message

Will Coleda

unread,
Mar 5, 2007, 1:32:34 PM3/5/07
to bugs-bi...@rt.perl.org
# New Ticket Created by Will Coleda
# Please include the string: [perl #41707]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41707 >


(all paths relative to languages/tcl)

First, do a make test in tcl to get a baseline as some tests are failing.

The stub files in src/builtin/*.pir need to be relocated to
runtime/builtin/*.pir; The stubs are:

auto_execok,auto_load,exec,fconfigure,glob,interp,trace,update

When moving, ok to do an svn del/add; be sure to update the MANIFEST.

Update config/makefiles/root.in to remove reference to the old name. New
file will be matched with a wilcard.

Format of subs changes in runtime. Look at "runtime/builtin/trace.pir" for
an example.

If there's already a file of the same name in runtime, just delete the old
one.

Then reconfigure parrot, rebuild tcl, re make test, make sure nothing new is
failing.

Nuno Carvalho via RT

unread,
Mar 5, 2007, 7:00:24 PM3/5/07
to perl6-i...@perl.org
Hiya,

On Mon Mar 05 10:32:33 2007, coke wrote:
> (all paths relative to languages/tcl)
>
> First, do a make test in tcl to get a baseline as some tests are
> failing.

languages/tcl$ make test | tee /tmp/OUTPUT

> The stub files in src/builtin/*.pir need to be relocated to
> runtime/builtin/*.pir; The stubs are:
>
> auto_execok,auto_load,exec,fconfigure,glob,interp,trace,update
>
> When moving, ok to do an svn del/add; be sure to update the MANIFEST.

Moved files and updated MANIFEST, still missing some propset on the new
files.

> Update config/makefiles/root.in to remove reference to the old name.
> New
> file will be matched with a wilcard.

Updated.

> Format of subs changes in runtime. Look at "runtime/builtin/trace.pir"
> for
> an example.

Subs where updated.

> If there's already a file of the same name in runtime, just delete the
> old
> one.

The only one that already existed was trace.pir -- overwritten.

> Then reconfigure parrot, rebuild tcl, re make test, make sure nothing
> new is
> failing.

After reconfigure parrot and rebuild tcl:

languages/tcl$ make test | tee /tmp/OUTPUT2

$ diff /tmp/OUTPUT /tmp/OUTPUT2
90c90
< Files=73, Tests=1332, 874 wallclock secs (792.16 cusr + 16.80 csys =
808.96 CPU)
---
> Files=73, Tests=1332, 938 wallclock secs (795.61 cusr + 16.98 csys =
812.59 CPU)

Same behaviour, only time changed.

The changes were commited on revision 17353, MANIFEST update was
commited on revision 17354.

Best regards,
./smash

0 new messages