#2086: dynoplibs test failures on OS X
--------------------+-------------------------------------------------------
Reporter: lucian | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: none | Version: master
Severity: medium | Keywords:
Lang: | Patch:
Platform: darwin |
--------------------+-------------------------------------------------------
Comment(by lucian):
Having most tests fail sucks, because of osx dynamic loading issues. kid++
showed me how to run the tests in such a way that the OS X linker doesn't
get confused.
Ignore the output in the ticket body.
{{{
$ prove -v dynoplibs/
dynoplibs/bit...................Can't exec ./parrot at dynoplibs/bit.t
line 1.
dubious
Test returned status 2 (wstat 512, 0x200)
dynoplibs/debug.................1..12
ok 1 - getline, getfile
ok 2 - debug_print
ok 3 - debug_print without debugger
ok 4 - debug_backtrace
# Failed test 'debug_break'
# at ../lib/Parrot/Test.pm line 636.
# 'sh: ./parrot: No such file or directory
# '
# doesn't match '(?-xism:[(]pdb[)] (print I0\n)?1)'
not ok 5 - debug_break
ok 6 - debug backtrace - Null PMC access
ok 7 - debug backtrace - method not found
ok 8 - debug backtrace - division by 0
ok 9 - debug backtrace - recursion 1
ok 10 - debug backtrace - recursion 2
ok 11 - setfile and setline
ok 12 - setfile and setline
# Looks like you failed 1 test of 12.
dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 5
Failed 1/12 tests, 91.67% okay
dynoplibs/io-old................1..4
ok 1 - 32bit seek: exception (ops)
ok 2 - 64bit seek: exception (ops)
ok 3 - peek (ops)
ok 4 - peek on an empty file (ops)
ok
dynoplibs/io....................Can't exec ./parrot at dynoplibs/io.t line
1.
dubious
Test returned status 2 (wstat 512, 0x200)
dynoplibs/math..................Can't exec ./parrot at dynoplibs/math.t
line 1.
dubious
Test returned status 2 (wstat 512, 0x200)
dynoplibs/obscure...............Can't exec ./parrot at dynoplibs/obscure.t
line 1.
dubious
Test returned status 2 (wstat 512, 0x200)
dynoplibs/pmc_pow...............Can't exec ./parrot at dynoplibs/pmc_pow.t
line 1.
dubious
Test returned status 2 (wstat 512, 0x200)
dynoplibs/string_pmc_bitwise....Can't exec ./parrot at
dynoplibs/string_pmc_bitwise.t line 1.
dubious
Test returned status 2 (wstat 512, 0x200)
dynoplibs/sysinfo...............1..16
ok 1 - PASM sysinfo integer size
ok 2 - PIR sysinfo integer size
ok 3 - PASM sysinfo float size
ok 4 - PIR sysinfo float size
ok 5 - PASM sysinfo pointer size
ok 6 - PIR sysinfo pointer size
ok 7 - PASM sysinfo osname
ok 8 - PIR sysinfo osname
ok 9 - PASM sysinfo CPU Arch Family
ok 10 - PIR sysinfo CPU Arch Family
ok 11 # skip Tests only meaningful on Win32
ok 12 # skip Tests only meaningful on Win32
not ok 13 - sysinfo CPU Model # TODO not currently implemented in parrot
# Failed (TODO) test 'sysinfo CPU Model'
# at dynoplibs/sysinfo.t line 180.
# got: ''
# expected: 'darwin-thread-multi-2leveldarwin-thread-multi-2level'
ok 14 # skip Testing only in some known platforms
ok 15 - INTVAL min and max coherence
ok 16 - bad sysinfo codes
ok
3/16 skipped: various reasons
dynoplibs/time..................Can't exec ./parrot at dynoplibs/time.t
line 1.
dubious
Test returned status 2 (wstat 512, 0x200)
dynoplibs/time_old..............1..1
ok 1 - decodelocaltime
ok
dynoplibs/trans-infnan..........Can't exec ./parrot at dynoplibs/trans-
infnan.t line 1.
dubious
Test returned status 2 (wstat 512, 0x200)
dynoplibs/trans-old.............1..13
ok 1 - sinh
ok 2 - tanh
ok 3 - sech
ok 4 - atan2
ok 5 - atan, part 2
ok 6 - log2
ok 7 - log10
ok 8 - ln
ok 9 - exp
ok 10 - pow
ok 11 - sqrt
ok 12 - pow_n_n_ic
ok 13 - pow_n_n_i
ok
dynoplibs/trans.................Can't exec ./parrot at dynoplibs/trans.t
line 1.
dubious
Test returned status 2 (wstat 512, 0x200)
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
dynoplibs/bit.t 2 512 ?? ?? ??
dynoplibs/debug.t 1 256 12 1 5
dynoplibs/io.t 2 512 ?? ?? ??
dynoplibs/math.t 2 512 ?? ?? ??
dynoplibs/obscure.t 2 512 ?? ?? ??
dynoplibs/pmc_pow.t 2 512 ?? ?? ??
dynoplibs/string_pmc_bitwise.t 2 512 ?? ?? ??
dynoplibs/time.t 2 512 ?? ?? ??
dynoplibs/trans-infnan.t 2 512 ?? ?? ??
dynoplibs/trans.t 2 512 ?? ?? ??
3 subtests skipped.
Failed 10/14 test scripts. 1/46 subtests failed.
Files=14, Tests=46, 3 wallclock secs ( 0.71 cusr + 0.57 csys = 1.28
CPU)
Failed 10/14 test programs. 1/46 subtests failed.
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/2086#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets