test/transforms: adapt to 'now' save on core device

This commit is contained in:
Sebastien Bourdeauducq 2015-05-12 23:06:33 +08:00
parent 0f9bc7bc4b
commit a62ae1d8d7
1 changed files with 5 additions and 1 deletions

View File

@ -34,7 +34,11 @@ def run():
optimize_out = """ optimize_out = """
def run(): def run():
now = syscall('now_init')
try:
do_something(344) do_something(344)
finally:
syscall('now_save', now)
""" """