"Vladimir Lipskiy" <[EMAIL PROTECTED]> writes:

Thanks for the testing
> t/pmc/io...............NOK 3#     Failed test (t/pmc/io.t at line 37)
> #          got: 'fdopen failed
> # '
> #     expected: 'ok
> # '
> t/pmc/io...............NOK 4#     Failed test (t/pmc/io.t at line 51)
> #          got: 'fdopen failed
> # '
> #     expected: 'ok
> # '

This is a missing implementation of fdopen on windows.
Its not clear to me how this call should behave. PIO_win32_fdopen
takes a Parrot_WIN32_Handle which is actually a void*.

Using the numbers 0,1,2 in this call does not seem right
here. Especially since we decided to drop the integer file handles
(perl #22899).

> t/pmc/io...............NOK 5#     Failed test (t/pmc/io.t at line 66)
> #          got: 'ok 1
> # ok 2
> # not ok 3
> # ok 4
> # ok 5
> # ok 6
> # '
> #     expected: 'ok 1
> # ok 2
> # ok 3
> # ok 4
> # ok 5
> # ok 6
> # '

get_bool calls PIO_eof, which only checks io->flags & PIO_F_EOF. The
win32 read function does not seem to set this flag correct. It looks
correct but without win32 I cant debugg this.

Can you run parrot t/pmc/io_5.pasm in the debugger, break on
PIO_win32_read and look if the line             
  io->flags |= PIO_F_EOF;
is reached?

> t/pmc/io...............NOK 19#     Failed test (t/pmc/io.t at line 274)
> #          got: 'Can't spawn ".\parrot.exe --gc-debug t/pmc/io_15.pasm": Bad
> fil
> e descriptor at lib/Parrot/Test.pm line 61.
> # '
> #     expected: 'ok 1
> # Hello Parrot!
> # '
> # '.\parrot.exe --gc-debug t/pmc/io_15.pasm' failed with exit code 255

why can't it spawn .\parrot.exe only in this test all other tests seem
to have no problem with spawning. Try to run this test by hand
.\parrot.exe t/pmc/io_15.pasm

> # Looks like you failed 4 tests of 19.
> t/pmc/io...............dubious
>         Test returned status 4 (wstat 1024, 0x400)
> DIED. FAILED tests 3-5, 19
>         Failed 4/19 tests, 78.95% okay (less 1 skipped test: 14 okay,
> 73.68%)

bye
boe
-- 
Juergen Boemmels                        [EMAIL PROTECTED]
Fachbereich Physik                      Tel: ++49-(0)631-205-2817
Universitaet Kaiserslautern             Fax: ++49-(0)631-205-3906
PGP Key fingerprint = 9F 56 54 3D 45 C1 32 6F  23 F6 C7 2F 85 93 DD 47

Reply via email to