id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,lang,patch,platform
1124,t/op/arithmetics_pmc.t is skipping bigint/bignum test even when gmp is available,mikehh,,"The test t/op/arithmetics_pms.t is skipping bigint/bignum test even when gmp is available

the relevant code is:
{{{
.sub main :main
    .include 'test_more.pir'
    .include ""iglobals.pasm""

    plan(68)

    # Don't check BigInt or BigNum without gmp
    .local pmc interp     # a handle to our interpreter object.
    interp = getinterp
    .local pmc config
    config = interp[.IGLOBALS_CONFIG_HASH]
    .local int gmp
    gmp = config['gmp']

    run_tests_for('Integer')
    run_tests_for('Float')

    if gmp goto do_big_ones
        skip( 34, ""will not test BigInt or BigNum without gmp"" )
        goto end

  do_big_ones:
    run_tests_for('BigInt')
    run_tests_for('BigNum')

  end:
.end

}}}

in t/pmc/bigint.t we have:
{{{
if ( $PConfig{gmp} ) {
    plan tests => 44;
}
else {
    plan skip_all => ""No BigInt Lib configured"";
}

}}}

which works fine for me, so in this instance $PConfig{gmp} is defined

whereas in the pir code it is not picking it up.

checking further

if I can just figure out how to iterate over and list the key/value pairs from config = interp[.IGLOBALS_CONFIG_HASH]
",bug,closed,normal,,testing,1.6.0,medium,fixed,,,,,
