diff options
| author | serpilliere <fabrice.desclaux@cea.fr> | 2016-04-25 22:12:45 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2016-04-26 11:05:41 +0200 |
| commit | 5dc6a1d5fef50253f98838db681f92d0071172f5 (patch) | |
| tree | 314f4a3ca5b94694db7d71ac6e1fe4a10e39bf40 /test/arch/x86/unit/asm_test.py | |
| parent | 65cf848438651b3bfe01243778af9e6d5b0470d6 (diff) | |
| download | miasm-5dc6a1d5fef50253f98838db681f92d0071172f5.tar.gz miasm-5dc6a1d5fef50253f98838db681f92d0071172f5.zip | |
Test: TCC conditional tests
Diffstat (limited to 'test/arch/x86/unit/asm_test.py')
| -rw-r--r-- | test/arch/x86/unit/asm_test.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/arch/x86/unit/asm_test.py b/test/arch/x86/unit/asm_test.py index 118a57b4..4e1d03b8 100644 --- a/test/arch/x86/unit/asm_test.py +++ b/test/arch/x86/unit/asm_test.py @@ -23,8 +23,8 @@ reg_and_id = dict(mn_x86.regs.all_regs_ids_byname) class Asm_Test(object): run_addr = 0x0 - def __init__(self): - self.myjit = Machine(self.arch_name).jitter() + def __init__(self, jitter_engine): + self.myjit = Machine(self.arch_name).jitter(jitter_engine) self.myjit.init_stack() self.myjit.jit.log_regs = False @@ -84,8 +84,8 @@ class Asm_Test_16(Asm_Test): arch_attrib = 16 ret_addr = 0x1337 - def __init__(self): - self.myjit = Machine(self.arch_name).jitter() + def __init__(self, jitter_engine): + self.myjit = Machine(self.arch_name).jitter(jitter_engine) self.myjit.stack_base = 0x1000 self.myjit.stack_size = 0x1000 self.myjit.init_stack() |