On Tuesday 25 May 2004 01:35, Dan Sugalski wrote: > We can add more to this as we go, but this should be enough to get Jens > going. Theres no stat op yet, is there? Shall I write it?
The current parrotlib bytecode uses C<open> to test if a file exists, I'll modify the code to use C<stat> then. Or should I write those functions in C? The _parrotlib bytecode is working, but it disables DOD ATM :-( Nevertheless, all tests except t/pmc/timer.t 2 512 7 2 28.57% 6-7 are passing; the timer tests are generally not working with DOD turned off (I don't know why). My problem is that I do not know much about the DOD system; I have no clue how to debug this, or what I might have done wrong to trigger this behavior. Test results with DOD enabled: Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/library/dumper.t 13 3328 13 13 100.00% 1-13 t/pmc/managedstruct.t 1 256 5 1 20.00% 5 t/pmc/mmd.t 1 256 10 1 10.00% 8 t/pmc/nci.t 6 1536 34 6 17.65% 21 28-31 33 t/pmc/sys.t 1 256 1 1 100.00% 1 1 test and 57 subtests skipped. Failed 5/104 test scripts, 95.19% okay. 22/1559 subtests failed, 98.59% okay. (dumper.t seems to fail because of its havy use of load_bytecode) If you run the tests manually (without --gc-debug), only t/pmc/sys_1.imc fails (with "list structure chaos!")... jens