Hello all,
While writing the "getting started" guide, I was playing with the tests.
(I am on Windows XP). I noticed that the src tests fail or are not
even run for Win32.
I tinkered with it for a while and got some of the tests to pass. It
turns out there was a linking problem. The libparrot.def file does not
define some of the exports.
So I:
1) added some of the missing functions in the def file.
2) ran nmake shared
3) moved libparrot.dll to the parrot dir
4) took out the wierd TODO:{ } thingy from t/src/intlist.pl
5) ran perl t/harness t/src/intlists.pl
6) and it passed
Problem seems to be in the
parrot/config/gen/libparrot_def/libparrot_def.in file. What mechanism
is supposed to keep this up to date?
I added these:
intlist_get
intlist_push
intlist_new
Since I am only playing around and am a Parrot novice. Would someone
tell me if I have found something. Or did I just stumble on something
that everyone else knew. Either way I feel like I am starting to get a
handle on this stuff, and am looking forward to being a productive coder
soon.
If you want. I think I can get the other src tests working (if it's the
same problem). I may need some guidance with the proper procedure.
Can someone explain this odd syntax? Is this an odd type of comment?:
TODO: {
local $TODO="t/src doesn't work on Windows" if $^O =~ /Win32/;
$TODO=$TODO; #warnings
...
...
...
}
Thanks,
Erik