petdance/scratch — Issue #1120: dynoplibs test failures on OS X
Author: petdance
Created: 2011-11-14 06:14:47+00:00
State: open
Labels: bug, Pri-normal, Sev-medium

Mac OS X 10.6.6, 64bit kernel.
```
$ gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
```

Output
```

dynoplibs/bit...................dubious
Test returned status 2 (wstat 512, 0x200)
dynoplibs/debug.................1..12
not ok 1 - getline, getfile
not ok 2 - debug_print
not ok 3 - debug_print without debugger
not ok 4 - debug_backtrace
not ok 5 - debug_break
not ok 6 - debug backtrace - Null PMC access
not ok 7 - debug backtrace - method not found
not ok 8 - debug backtrace - division by 0
not ok 9 - debug backtrace - recursion 1
not ok 10 - debug backtrace - recursion 2
not ok 11 - setfile and setline
not ok 12 - setfile and setline
dubious
Test returned status 12 (wstat 3072, 0xc00)
DIED. FAILED tests 1-12
Failed 12/12 tests, 0.00% okay
dynoplibs/io-old................1..4
not ok 1 - 32bit seek: exception (ops)
not ok 2 - 64bit seek: exception (ops)
not ok 3 - peek (ops)
not ok 4 - peek on an empty file (ops)
dubious
Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
dynoplibs/io....................dubious
Test returned status 2 (wstat 512, 0x200)
dynoplibs/math..................dubious
Test returned status 2 (wstat 512, 0x200)
dynoplibs/obscure...............dubious
Test returned status 2 (wstat 512, 0x200)
dynoplibs/pmc_pow...............dubious
Test returned status 2 (wstat 512, 0x200)
dynoplibs/string_pmc_bitwise....dubious
Test returned status 2 (wstat 512, 0x200)
dynoplibs/sysinfo...............1..16
not ok 1 - PASM sysinfo integer size
not ok 2 - PIR sysinfo integer size
not ok 3 - PASM sysinfo float size
not ok 4 - PIR sysinfo float size
not ok 5 - PASM sysinfo pointer size
not ok 6 - PIR sysinfo pointer size
not ok 7 - PASM sysinfo osname
not ok 8 - PIR sysinfo osname
not ok 9 - PASM sysinfo CPU Arch Family
not 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.
# Exited with error code: [SIGNAL 5]
# Received:
# dyld: Library not loaded: /usr/local/lib/libparrot.dylib
# Referenced from: /Users/lucian/Prog/parrot/./parrot
# Reason: image not found
#
# Expected:
# darwin-thread-multi-2leveldarwin-thread-multi-2level
ok 14 # skip Testing only in some known platforms
not ok 15 - INTVAL min and max coherence
not ok 16 - bad sysinfo codes
dubious
Test returned status 12 (wstat 3072, 0xc00)
DIED. FAILED tests 1-10, 15-16
Failed 12/16 tests, 25.00% okay (less 3 skipped tests: 1 okay, 6.25%)
dynoplibs/time..................dubious
Test returned status 2 (wstat 512, 0x200)
dynoplibs/time_old..............1..1
not ok 1 - decodelocaltime
dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
dynoplibs/trans-infnan..........dubious
Test returned status 2 (wstat 512, 0x200)
dynoplibs/trans-old.............1..13
not ok 1 - sinh
not ok 2 - tanh
not ok 3 - sech
not ok 4 - atan2
not ok 5 - atan, part 2
not ok 6 - log2
not ok 7 - log10
not ok 8 - ln
not ok 9 - exp
not ok 10 - pow
not ok 11 - sqrt
not ok 12 - pow_n_n_ic
not ok 13 - pow_n_n_i
dubious
Test returned status 13 (wstat 3328, 0xd00)
DIED. FAILED tests 1-13
Failed 13/13 tests, 0.00% okay
dynoplibs/trans.................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 12 3072 12 12 1-12
dynoplibs/io-old.t 4 1024 4 4 1-4
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/sysinfo.t 12 3072 16 12 1-10 15-16
dynoplibs/time.t 2 512 ?? ?? ??
dynoplibs/time_old.t 1 256 1 1 1
dynoplibs/trans-infnan.t 2 512 ?? ?? ??
dynoplibs/trans-old.t 13 3328 13 13 1-13
dynoplibs/trans.t 2 512 ?? ?? ??
3 subtests skipped.
Failed 14/14 test scripts. 42/46 subtests failed.
Files=14, Tests=46, 1 wallclock secs ( 0.48 cusr + 0.40 csys = 0.88 CPU)
```

Originally http://trac.parrot.org/parrot/ticket/2086 by lucian