Re: All translated tests failing - invalid routine id / error with status 1

new topic     » goto parent     » topic index » view thread      » older message » newer message

Thank you Greg,

I did not find the error but I think it is related to the -d CRASH command-line option.

The crash routine is set when the option is not set. For example, I get following error:

    FAIL: translated t_881-1-translated 
because I got previously this error:
translating t_881-1.e: 
Fatal run-time error: 
invalid routine id passed to crash_routine() 

This is what I find at the end of include/unittest.e:

ifdef not CRASH then 
 
function test_crash( object o ) 
        test_fail( "unittesting crashed" ) 
        test_report() 
        o = 0 
        return o 
end function 
error:crash_routine( routine_id( "test_crash" ) ) 
 
end ifdef 

Jean-Marc

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu