diff options
Diffstat (limited to 'test/arch/mips32/unit')
| -rw-r--r-- | test/arch/mips32/unit/asm_test.py | 8 | ||||
| -rwxr-xr-x[-rw-r--r--] | test/arch/mips32/unit/mn_bcc.py | 3 |
2 files changed, 2 insertions, 9 deletions
diff --git a/test/arch/mips32/unit/asm_test.py b/test/arch/mips32/unit/asm_test.py index 7272c15e..35d87d85 100644 --- a/test/arch/mips32/unit/asm_test.py +++ b/test/arch/mips32/unit/asm_test.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python import sys import os @@ -10,17 +9,10 @@ from miasm2.core import asmbloc from elfesteem.strpatchwork import StrPatchwork from miasm2.analysis.machine import Machine from miasm2.jitter.csts import * -from pdb import pm - - -filename = os.environ.get('PYTHONSTARTUP') -if filename and os.path.isfile(filename): - execfile(filename) reg_and_id = dict(mn_mips32.regs.all_regs_ids_byname) - class Asm_Test(object): def __init__(self, jitter): diff --git a/test/arch/mips32/unit/mn_bcc.py b/test/arch/mips32/unit/mn_bcc.py index 4818c171..e9b28e77 100644..100755 --- a/test/arch/mips32/unit/mn_bcc.py +++ b/test/arch/mips32/unit/mn_bcc.py @@ -1,4 +1,5 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 + import sys from asm_test import Asm_Test |