diff --git a/tests/end2end/test_end2end_bnn_pynq.py b/tests/end2end/test_end2end_bnn_pynq.py index ce5a8e84adc59bf1b88946f14a8096dc18af21aa..398aa90b53aac58f2cc8cb113d9df4e9c36ce422 100644 --- a/tests/end2end/test_end2end_bnn_pynq.py +++ b/tests/end2end/test_end2end_bnn_pynq.py @@ -397,6 +397,8 @@ class TestEnd2End: @pytest.mark.slow @pytest.mark.parametrize("kind", ["zynq"]) def test_rtlsim_top1(self, topology, wbits, abits, kind): + if "TEST_RTLSIM_TOP1" not in os.environ: + pytest.skip("TEST_RTLSIM_TOP1 not set") if "fc" not in topology: pytest.skip("Top-1 rtlsim test currently for MNIST only") rtlsim_chkpt = get_checkpoint_name(