def test_llinterp_complete(): for opname, llop in LL_OPERATIONS.items(): if llop.canfold: continue if opname.startswith('gc_x_'): continue # ignore experimental stuff assert opname in LL_INTERP_OPERATIONS
def test_llinterp_complete(): for opname, llop in LL_OPERATIONS.items(): if llop.canfold: continue if opname.startswith('gc_x_') or opname.startswith('llvm_'): continue # ignore experimental stuff assert opname in LL_INTERP_OPERATIONS
def test_canfold_opimpl_complete(): for opname, llop in LL_OPERATIONS.items(): assert opname == llop.opname if llop.canfold: if llop.oo: func = ooopimpl.get_op_impl(opname) else: func = opimpl.get_op_impl(opname) assert callable(func)
def test_canfold_opimpl_complete(): for opname, llop in LL_OPERATIONS.items(): assert opname == llop.opname if llop.canfold: if llop.oo: func = ooopimpl.get_op_impl(opname) else: func = opimpl.get_op_impl(opname) assert callable(func)
def test_llinterp_complete(): for opname, llop in LL_OPERATIONS.items(): if llop.canrun: continue assert opname in LL_INTERP_OPERATIONS
def test_llinterp_complete(): for opname, llop in LL_OPERATIONS.items(): if llop.canrun: continue assert opname in LL_INTERP_OPERATIONS