mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-13 20:12:26 +00:00
gem5 baremetal: use m5exit m5op in exit() so as to not force users to apply a patch for almost all examples
10 lines
268 B
Python
10 lines
268 B
Python
def test(self):
|
|
self.sendline('tbreak main')
|
|
self.sendline('continue')
|
|
self.continue_to('op1')
|
|
assert self.get_int('i') == 1
|
|
self.continue_to('op2')
|
|
assert self.get_int('j') == 2
|
|
self.continue_to('result')
|
|
assert self.get_int('k') == 3
|