Failed Test Status Wstat Total Fail Failed List of Failed
--------------------------------------------------------------------------------
imcc/t/imcpasm/opt1.t 1 256 49 1 2.04% 48
t/dynclass/pybuiltin.t 5 1280 6 5 83.33% 1-2, 4-6
t/dynclass/pyclass.t 6 1536 6 6 100.00% 1-6
t/dynclass/pycomplex.t 1 256 1 1 100.00% 1
t/dynclass/pyfunc.t 4 1024 4 4 100.00% 1-4
t/dynclass/pyint.t 25 6400 25 25 100.00% 1-25
t/native_pbc/integer.t 1 256 1 1 100.00% 1
t/native_pbc/number.t 1 256 1 1 100.00% 1
t/op/spawnw.t 2 512 3 2 66.67% 2-3
t/pmc/object-meths.t 27 1 3.70% 19
t/pmc/objects.t 60 2 3.33% 53, 57
t/pmc/sys.t 1 256 1 1 100.00% 1
5 tests and 66 subtests skipped.
Failed 12/136 test scripts, 91.18% okay. 50/2210 subtests failed, 97.74% okay



# --- imcc/t/imcpasm/opt1.t ---

imcc/t/imcpasm/opt1.#     Failed test (imcc/t/imcpasm/opt1.t at line 626)
#          got: '_main:
#  set N0, 1.6e+022     
#  end
# '
#     expected: '_main:
#  set N0, 1.6e+22
#  end
# '
# Looks like you failed 1 tests of 49.



--- imcc/t/syn/file.t, line 363
    { local $/; $err_msg = <FOO>; }
+    $err_msg =~ s/\r//g;

$ perl -Ilib  imcc/t/syn/file.t
...
ok 11 - including a non-existent file
...



# --- t/dynclass/ ---

t/dynclass/pybuiltin.#     Failed test (t/dynclass/pybuiltin.t at line 22)
#          got: ''
#     expected: '31
# '

$ parrot.exe -t "t/dynclass/pybuiltin_1.imc"
10 lines compiled.
Running...
     0 new_pad 0
     2 new P30, "PyInt"         - P30=PMCNULL,

$ echo "Any ideas?"



# --- t/native_pbc/integer.t ---
# --- t/native_pbc/number.t ---

t/native_pbc/integer.# Failed test (t/native_pbc/integer.t at line 51)
# got: 'Parrot VM: Can't locate c:/usr/parrot-t/t/native_pbc/integer_1.pbc, code 2.
# main: Packfile loading failed



$ pwd /c/usr/parrot-src

$ parrot.exe t/native_pbc/integer_1.pbc
270544960

$ parrot.exe /c/usr/parrot-src/t/native_pbc/integer_1.pbc
Parrot VM: Can't locate c:/usr/parrot-src/t/native_pbc/integer_1.pbc, code 2.
main: Packfile loading failed


$ ls c:/usr/parrot-src/t/native_pbc/integer_1.*
c:/usr/parrot-src/t/native_pbc/integer_1.pbc

# same for:
  parrot.exe "c:/usr/parrot-src/t/native_pbc/integer_1.pbc"
  ls /c/usr/parrot-src/t/native_pbc/integer_1.*

echo "Seems like mingw/msys isssue."



# --- t/op/spawnw.t ---

t/op/spawnw.........#     Failed test (t/op/spawnw.t at line 57)
#          got: 'return code: 0
# '
#     expected: 'return code: 123
# '
#     Failed test (t/op/spawnw.t at line 71)
#          got: 'return code: 0
# '
#     expected: 'return code: 3
# '
# Looks like you failed 2 tests of 3.



# --- t/pmc/object-meths.t ---

t/pmc/object-meths..FAILED test 19

not ok 19 - constructor - diamond parents # TODO wrong init order?
#     Failed (TODO) test (t/pmc/object-meths.t at line 519)

...
# get E init   expected E
# get D init   expected A
# get B init   expected D
# get A init   expected B
# get C init   expected C
# get F init   expected F

$ echo "Move A after E. :-)"



# --- t/pmc/objects.t ---

t/pmc/objects.......FAILED tests 53, 57

not ok 53 - PMC as classes - derived 3 # TODO methods can't be overridden in derived class only
# Failed (TODO) test (t/pmc/objects.t at line 1660)


not ok 57 - __init argcP # TODO new Px, Ix: argcP is wrong in __init method
#     Failed (TODO) test (t/pmc/objects.t at line 1800)



# --- t/pmc/sys ---

t/pmc/sys...........#     Failed test (t/pmc/sys.t at line 26)
#          got: '. Not found ...

--- config_lib.pasm
- set P0["slash"], "/"
+ set P0["slash"], "\\"
$ parrot config_lib.pasm

$ parrot.exe t/pmc/sys_1.imc
Hello, World!
0

So seems like Parrot_run_slash != MinGW_build_slash. Because I still need Configure::Data->set( slash => '/' ); inside config\init\mswin32.pl to properly build.


# --- Some other ideas: ---

$ perl -e "print $^O"
msys

--- config\init\hints.pl
sub runstep {
+  my $O = lc($^O);
+  $O = 'mswin32' if $O =~ /^(msys|mingw)/;
-  my $hints = "config/init/hints/" . lc($^O) . ".pl";
+  my $hints = "config/init/hints/" . $O . ".pl";


S pozdravem Michal Jurosz http://xrl.us/fddn

Reply via email to