diff --git a/artiq/test/lda.py b/artiq/test/lda.py index f7c8e9cc1..846fba6e8 100644 --- a/artiq/test/lda.py +++ b/artiq/test/lda.py @@ -5,7 +5,8 @@ from artiq.devices.lda.driver import Lda, Ldasim from artiq.language.units import dB -no_hardware = bool(os.getenv("ARTIQ_NO_HARDWARE")) +no_hardware = bool(os.getenv("ARTIQ_NO_HARDWARE")) \ + or bool(os.getenv("ARTIQ_NO_PERIPHERALS")) class GenericLdaTest: diff --git a/artiq/test/thorlabs_tcube.py b/artiq/test/thorlabs_tcube.py index 1f5da2828..d2bf4e338 100644 --- a/artiq/test/thorlabs_tcube.py +++ b/artiq/test/thorlabs_tcube.py @@ -6,7 +6,8 @@ from artiq.devices.thorlabs_tcube.driver import Tdc, Tpz, TdcSim, TpzSim from artiq.language.units import V -no_hardware = bool(os.getenv("ARTIQ_NO_HARDWARE")) +no_hardware = bool(os.getenv("ARTIQ_NO_HARDWARE")) \ + or bool(os.getenv("ARTIQ_NO_PERIPHERALS")) class GenericTdcTest: