Ticket #2149 (closed bug: fixed)

Opened 11 years ago

Last modified 11 years ago


Reported by: jkeenan Owned by: whiteknight
Priority: major Milestone:
Component: embed/extend Version: 3.5.0
Severity: medium Keywords:
Cc: dukeleto Language:
Patch status: Platform:


Observed on linux/i386. Test 6 passes with an "all GCC, non-optimized build," but fails when I configure like this:

$ grep configure_args lib/Parrot/Config/Generated.pm 
  'configure_args' => '"--cc=g++" "--link=g++" "--ld=g++" "--optimize"',

I observe this in both master and the hllmap_fixed branch, which suggests the error first occurred before that branch was forked from master.

Thank you very much.


# Failed to build 't/src/embed/api_6.o': t/src/embed/api.t: In function 'int main()':
# t/src/embed/api.t:294: error: cannot convert 'PMC**' to 'parrot_string_t**' for argument '3' to 'Parrot_Int Parrot_api_get_exception_backtrace(PMC*, PMC*, parrot_string_t**)'

#   Failed test 'Parrot_api_get_exception_backtrace'
#   at t/src/embed/api.t line 268.
# Looks like you failed 1 test of 8.
t/src/embed/api.t .. 
ok 1 - get set compiler
ok 2 - Parrot_api_serialize_bytecode_pmc
ok 3 - Parrot_api_set_runcore: invalid runcore
ok 4 - Parrot_api_reset_call_signature
ok 5 - Parrot_api_set_runcore
not ok 6 - Parrot_api_get_exception_backtrace
ok 7 - Parrot_api_(un)wrap_pointer
ok 8 - Parrot_api_reset_call_signature
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/8 subtests 

Test Summary Report
t/src/embed/api.t (Wstat: 256 Tests: 8 Failed: 1)
  Failed test:  6
  Non-zero exit status: 1
Files=1, Tests=8,  1 wallclock secs ( 0.03 usr  0.00 sys +  0.61 cusr  0.24 csys =  0.88 CPU)
Result: FAIL

Change History

Changed 11 years ago by jkeenan

  • status changed from new to closed
  • resolution set to fixed

dukeleto has fixed the test file and it is once again passing at 5718bb97e1.

Note: See TracTickets for help on using tickets.