mirror of https://github.com/m-labs/artiq.git
test/transforms: adapt to 'now' save on core device
This commit is contained in:
parent
0f9bc7bc4b
commit
a62ae1d8d7
|
@ -34,7 +34,11 @@ def run():
|
|||
optimize_out = """
|
||||
|
||||
def run():
|
||||
do_something(344)
|
||||
now = syscall('now_init')
|
||||
try:
|
||||
do_something(344)
|
||||
finally:
|
||||
syscall('now_save', now)
|
||||
"""
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue