Skip to content

Commit e5b1552

Browse files
committed
enable two more tests for qdb
1 parent 7634856 commit e5b1552

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

tests/test_qdb.py

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,23 @@
99

1010
class DebuggerTest(unittest.TestCase):
1111

12-
# def test_qdb_mips32el_hello(self):
13-
# rootfs = "../examples/rootfs/mips32el_linux"
14-
# path = rootfs + "/bin/mips32el_hello"
15-
16-
# ql = Qiling([path], rootfs)
17-
# ql.debugger = "qdb::rr:qdb_scripts/mips32el.qdb"
18-
# ql.run()
19-
# del ql
20-
21-
# def test_qdb_arm_hello(self):
22-
# rootfs = "../examples/rootfs/arm_linux"
23-
# path = rootfs + "/bin/arm_hello"
24-
25-
# ql = Qiling([path], rootfs)
26-
# ql.debugger = "qdb::rr:qdb_scripts/arm.qdb"
27-
# ql.run()
28-
# del ql
12+
def test_qdb_mips32el_hello(self):
13+
rootfs = "../examples/rootfs/mips32el_linux"
14+
path = rootfs + "/bin/mips32el_hello"
15+
16+
ql = Qiling([path], rootfs)
17+
ql.debugger = "qdb::rr:qdb_scripts/mips32el.qdb"
18+
ql.run()
19+
del ql
20+
21+
def test_qdb_arm_hello(self):
22+
rootfs = "../examples/rootfs/arm_linux"
23+
path = rootfs + "/bin/arm_hello"
24+
25+
ql = Qiling([path], rootfs)
26+
ql.debugger = "qdb::rr:qdb_scripts/arm.qdb"
27+
ql.run()
28+
del ql
2929

3030
def test_qdb_x86_hello(self):
3131
rootfs = "../examples/rootfs/x86_linux"

0 commit comments

Comments
 (0)