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:
Ciro Santilli 六四事件 法轮功
2019-01-22 00:00:00 +00:00
parent 780e9ceeb4
commit f2e73bac83
18 changed files with 183 additions and 67 deletions

View File

@@ -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()