whiteknight/tt_1910 branch ready for testing
James E Keenan
jkeen at verizon.net
Sat Oct 22 15:57:43 UTC 2011
On 10/22/11 9:46 AM, Andrew Whitworth wrote:
> I would appreciate if people could run a few extra tests against the
> branch.
t/src/extend.t fails with an all-g++ build, i.e., perl Configure.pl
--cc=g++ --link=g++ --ld=g++.
[li11-226:parrot] 584 $ prove -v t/src/extend.t
t/src/extend.t ..
1..24
ok 1 - Parrot_PMC_null
ok 2 - Parrot_get_root_namespace/Parrot_(un)register_pmc
ok 3 - set/get_intreg
ok 4 - Parrot_fprintf
ok 5 - Parrot_printf/Parrot_eprintf with no interp
ok 6 - set/get_numreg
ok 7 - Parrot_new_string
ok 8 - Parrot_new_string/Parrot_(un)register_string
ok 9 - set/get_strreg
ok 10 - PMC_set/get_integer
ok 11 - Parrot_free_cstring
ok 12 - PMC_set/get_integer_keyed_int
ok 13 - set/get_pmcreg
ok 14 - PMC_set/get_number
ok 15 - PMC_set/get_string
# 'g++ -D_GNU_SOURCE -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED
-DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN
-DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED
-DHASATTRIBUTE_WARN_UNUSED_RESULT -DHASATTRIBUTE_HOT
-DHASATTRIBUTE_COLD -DHAS_GETTEXT -g -I./include -c -o
t/src/extend_16.o t/src/extend_16.c' failed with exit code 1
# Failed to build 't/src/extend_16.o': t/src/extend_16.c: In function
'int main(int, const char**)':
# t/src/extend_16.c:15: error: cannot convert 'PackFile*' to 'PMC*' in
initialization
# t/src/extend_16.c:18: error: cannot convert 'PMC*' to 'PackFile*' for
argument '2' to 'PMC* Parrot_pf_get_packfile_pmc(parrot_interp_t*,
PackFile*)'
not ok 16 - call a parrot sub
# Failed test 'call a parrot sub'
# at t/src/extend.t line 517.
# 'g++ -D_GNU_SOURCE -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED
-DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN
-DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED
-DHASATTRIBUTE_WARN_UNUSED_RESULT -DHASATTRIBUTE_HOT
-DHASATTRIBUTE_COLD -DHAS_GETTEXT -g -I./include -c -o
t/src/extend_17.o t/src/extend_17.c' failed with exit code 1
# Failed to build 't/src/extend_17.o': t/src/extend_17.c: In function
'int main(int, const char**)':
# t/src/extend_17.c:14: error: cannot convert 'PackFile*' to 'PMC*' in
initialization
# t/src/extend_17.c:17: error: cannot convert 'PMC*' to 'PackFile*' for
argument '2' to 'PMC* Parrot_pf_get_packfile_pmc(parrot_interp_t*,
PackFile*)'
not ok 17 - call a parrot sub using the unified interface
# Failed test 'call a parrot sub using the unified interface'
# at t/src/extend.t line 567.
# 'g++ -D_GNU_SOURCE -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED
-DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN
-DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED
-DHASATTRIBUTE_WARN_UNUSED_RESULT -DHASATTRIBUTE_HOT
-DHASATTRIBUTE_COLD -DHAS_GETTEXT -g -I./include -c -o
t/src/extend_18.o t/src/extend_18.c' failed with exit code 1
# Failed to build 't/src/extend_18.o': t/src/extend_18.c: In function
'int main(int, const char**)':
# t/src/extend_18.c:14: error: cannot convert 'PackFile*' to 'PMC*' in
initialization
# t/src/extend_18.c:18: error: cannot convert 'PMC*' to 'PackFile*' for
argument '2' to 'PMC* Parrot_pf_get_packfile_pmc(parrot_interp_t*,
PackFile*)'
not ok 18 - call a parrot sub and return an integer
# Failed test 'call a parrot sub and return an integer'
# at t/src/extend.t line 634.
# 'g++ -D_GNU_SOURCE -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED
-DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN
-DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED
-DHASATTRIBUTE_WARN_UNUSED_RESULT -DHASATTRIBUTE_HOT
-DHASATTRIBUTE_COLD -DHAS_GETTEXT -g -I./include -c -o
t/src/extend_19.o t/src/extend_19.c' failed with exit code 1
# Failed to build 't/src/extend_19.o': t/src/extend_19.c: In function
'int main(int, const char**)':
# t/src/extend_19.c:14: error: cannot convert 'PackFile*' to 'PMC*' in
initialization
# t/src/extend_19.c:18: error: cannot convert 'PMC*' to 'PackFile*' for
argument '2' to 'PMC* Parrot_pf_get_packfile_pmc(parrot_interp_t*,
PackFile*)'
not ok 19 - call a parrot sub, catch exception
# Failed test 'call a parrot sub, catch exception'
# at t/src/extend.t line 692.
# 'g++ -D_GNU_SOURCE -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED
-DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN
-DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED
-DHASATTRIBUTE_WARN_UNUSED_RESULT -DHASATTRIBUTE_HOT
-DHASATTRIBUTE_COLD -DHAS_GETTEXT -g -I./include -c -o
t/src/extend_20.o t/src/extend_20.c' failed with exit code 1
# Failed to build 't/src/extend_20.o': t/src/extend_20.c: In function
'int main(int, const char**)':
# t/src/extend_20.c:14: error: cannot convert 'PackFile*' to 'PMC*' in
assignment
# t/src/extend_20.c:17: error: 'pf' was not declared in this scope
# t/src/extend_20.c:19: error: 'Parrot_runcode' was not declared in this
scope
not ok 20 - eval code through a parrot sub - \#39669 # TODO Must
explicitly set a PIR compreg
# Failed (TODO) test 'eval code through a parrot sub - \#39669'
# at t/src/extend.t line 781.
not ok 21 - compile string in a fresh interp - \#39986 # TODO Must
explicitly set a PIR compreg
# Failed (TODO) test 'compile string in a fresh interp - \#39986'
# at t/src/extend.t line 811.
# Exited with error code: 1
# Received:
#
# Expected:
# Hello from foo!
#
# 'g++ -D_GNU_SOURCE -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED
-DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN
-DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED
-DHASATTRIBUTE_WARN_UNUSED_RESULT -DHASATTRIBUTE_HOT
-DHASATTRIBUTE_COLD -DHAS_GETTEXT -g -I./include -c -o
t/src/extend_22.o t/src/extend_22.c' failed with exit code 1
# Failed to build 't/src/extend_22.o': t/src/extend_22.c: In function
'int main(int, const char**)':
# t/src/extend_22.c:14: error: cannot convert 'PackFile*' to 'PMC*' in
assignment
# t/src/extend_22.c:15: error: cannot convert 'PMC*' to 'PackFile*' for
argument '2' to 'PMC* Parrot_pf_get_packfile_pmc(parrot_interp_t*,
PackFile*)'
not ok 22 - call multi sub from C - \#41511
# Failed test 'call multi sub from C - \#41511'
# at t/src/extend.t line 843.
# 'g++ -D_GNU_SOURCE -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED
-DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN
-DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED
-DHASATTRIBUTE_WARN_UNUSED_RESULT -DHASATTRIBUTE_HOT
-DHASATTRIBUTE_COLD -DHAS_GETTEXT -g -I./include -c -o
t/src/extend_23.o t/src/extend_23.c' failed with exit code 1
# Failed to build 't/src/extend_23.o': t/src/extend_23.c: In function
'int main(int, const char**)':
# t/src/extend_23.c:14: error: cannot convert 'PackFile*' to 'PMC*' in
assignment
# t/src/extend_23.c:15: error: cannot convert 'PMC*' to 'PackFile*' for
argument '2' to 'PMC* Parrot_pf_get_packfile_pmc(parrot_interp_t*,
PackFile*)'
not ok 23 - call multi sub from C - unified interface
# Failed test 'call multi sub from C - unified interface'
# at t/src/extend.t line 872.
ok 24 - multiple Parrot_new/Parrot_x_exit cycles
# Looks like you failed 6 tests of 24.
Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/24 subtests
Test Summary Report
-------------------
t/src/extend.t (Wstat: 1536 Tests: 24 Failed: 6)
Failed tests: 16-19, 22-23
Non-zero exit status: 6
Files=1, Tests=24, 4 wallclock secs ( 0.04 usr 0.01 sys + 2.54 cusr
0.73 csys = 3.32 CPU)
Result: FAIL
More information about the parrot-dev
mailing list