Debian Codegraph @

rpython/jit/backend/llsupport/test/test_runner.py

raw symbols SCIP
1 import py
2 from rpython.jit.backend.llsupport.llmodel import AbstractLLCPU
3 from rpython.jit.backend.test.runner_test import LLtypeBackendTest
4
5
6 class FakeStats(object):
7 pass
8
9 class MyLLCPU(AbstractLLCPU):
10 supports_floats = True
11
12 class assembler(object):
13 @staticmethod
14 def set_debug(flag):
15 pass
16
17 def compile_loop(self, inputargs, operations, looptoken):
18 py.test.skip("llsupport test: cannot compile operations")
19
20
21 class TestAbstractLLCPU(LLtypeBackendTest):
22
23 # for the individual tests see
24 # ====> ../../test/runner_test.py
25
26 def get_cpu(self):
27 return MyLLCPU(rtyper=None, stats=FakeStats(), opts=None)