From d15d922236bf037ae9858be25b0087acd2b24860 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 6 Jun 2022 23:56:14 +0800 Subject: [PATCH] test_compile: port to NAC3 --- artiq/test/coredevice/test_compile.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/artiq/test/coredevice/test_compile.py b/artiq/test/coredevice/test_compile.py index 060cd1b8f..0213ef0cf 100644 --- a/artiq/test/coredevice/test_compile.py +++ b/artiq/test/coredevice/test_compile.py @@ -3,6 +3,8 @@ import sys import subprocess import unittest import tempfile + +from artiq.coredevice.core import Core from artiq.coredevice.comm_mgmt import CommMgmt from artiq.test.hardware_testbench import ExperimentCase from artiq.experiment import * @@ -11,7 +13,16 @@ from artiq.experiment import * artiq_root = os.getenv("ARTIQ_ROOT") +# NAC3TODO https://git.m-labs.hk/M-Labs/nac3/issues/297 +@extern +def core_log(s: str): + ... + + +@nac3 class CheckLog(EnvExperiment): + core: KernelInvariant[Core] + def build(self): self.setattr_device("core") @@ -20,6 +31,7 @@ class CheckLog(EnvExperiment): core_log("test_artiq_compile") +@unittest.skip("NAC3TODO https://git.m-labs.hk/M-Labs/nac3/issues/300") class TestCompile(ExperimentCase): def test_compile(self): core_addr = self.device_mgr.get_desc("core")["arguments"]["host"]