Skip to content

Commit

Permalink
Skip tests
Browse files Browse the repository at this point in the history
  • Loading branch information
steltze committed Nov 27, 2024
1 parent 18f9385 commit e1d80a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/pytest/test_optimization/test_fifo_depth.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def expect_exception(error, message, backend, profiling_fifo_depth, io_type):


# test faulty inputs of profiling_fifo_depth to verify that an exception is raised
@pytest.mark.skip(reason='Skipping synthesis tests for now')
@pytest.mark.parametrize('backend', backend_options)
@pytest.mark.parametrize('profiling_fifo_depth', [-2, "a"])
def test_value_error(backend, profiling_fifo_depth):
Expand All @@ -108,12 +109,14 @@ def test_value_error(backend, profiling_fifo_depth):


# test with io_type='io_parallel' to verify that an exception is raised
@pytest.mark.skip(reason='Skipping synthesis tests for now')
@pytest.mark.parametrize('backend', backend_options)
def test_runtime_error(backend):
message = "To use this optimization you have to set `IOType` field to `io_stream` in the HLS config."
expect_exception(RuntimeError, message, backend, profiling_fifo_depth=200_000, io_type='io_parallel')


@pytest.mark.skip(reason='Skipping synthesis tests for now')
@pytest.mark.parametrize('backend', backend_options)
def test_successful_execution(backend):
fifo_depth_optimization_script(backend, profiling_fifo_depth=200_000, io_type='io_stream')

0 comments on commit e1d80a5

Please sign in to comment.