mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 03:31:36 +01:00
create userland tests
Fix some more tabs. Parse the "Simulated exit code not 0!" string in gem5 and exit with the proper status
This commit is contained in:
7
test-gdb
7
test-gdb
@@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import functools
|
||||
import threading
|
||||
import os
|
||||
|
||||
@@ -29,13 +28,15 @@ class Main(common.LkmcCliFunction):
|
||||
arch=arch,
|
||||
background=True,
|
||||
baremetal=test_script_noext,
|
||||
print_time=False,
|
||||
emulator=emulator,
|
||||
wait_gdb=True
|
||||
))
|
||||
run_thread.start()
|
||||
run_gdb(
|
||||
arch=arch, baremetal=test_script_noext, print_time=False, emulator=emulator, test=True
|
||||
arch=arch,
|
||||
baremetal=test_script_noext,
|
||||
emulator=emulator,
|
||||
test=True,
|
||||
)
|
||||
run_thread.join()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user