From 5b1b49413a64c95cf0dc60e368852dc132a34f77 Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 2 Dec 2015 20:36:49 +0800 Subject: [PATCH] lit-test: fix devirtualization/*. --- lit-test/test/devirtualization/device_db.pyon | 6 ++++++ lit-test/test/devirtualization/function.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lit-test/test/devirtualization/device_db.pyon b/lit-test/test/devirtualization/device_db.pyon index 7c1bb62ef..02d4e06bb 100644 --- a/lit-test/test/devirtualization/device_db.pyon +++ b/lit-test/test/devirtualization/device_db.pyon @@ -4,5 +4,11 @@ "module": "artiq.coredevice.comm_dummy", "class": "Comm", "arguments": {} + }, + "core": { + "type": "local", + "module": "artiq.coredevice.core", + "class": "Core", + "arguments": {"ref_period": 1e-9} } } diff --git a/lit-test/test/devirtualization/function.py b/lit-test/test/devirtualization/function.py index 5c24b492b..4c1f48544 100644 --- a/lit-test/test/devirtualization/function.py +++ b/lit-test/test/devirtualization/function.py @@ -4,7 +4,7 @@ from artiq.language.core import * from artiq.language.types import * -# CHECK-L: call ()->NoneType %local.testbench.entrypoint ; calls testbench.entrypoint +# CHECK-L: call ()->NoneType delay('b) %local.testbench.entrypoint ; calls testbench.entrypoint @kernel def baz():