Skip to content
Snippets Groups Projects
Commit b091e1e8 authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[Test] make end2end rtlsim top-1 measurement optional on env.var.

parent f1db392c
No related branches found
No related tags found
No related merge requests found
...@@ -397,6 +397,8 @@ class TestEnd2End: ...@@ -397,6 +397,8 @@ class TestEnd2End:
@pytest.mark.slow @pytest.mark.slow
@pytest.mark.parametrize("kind", ["zynq"]) @pytest.mark.parametrize("kind", ["zynq"])
def test_rtlsim_top1(self, topology, wbits, abits, kind): 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: if "fc" not in topology:
pytest.skip("Top-1 rtlsim test currently for MNIST only") pytest.skip("Top-1 rtlsim test currently for MNIST only")
rtlsim_chkpt = get_checkpoint_name( rtlsim_chkpt = get_checkpoint_name(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment