# Copyright (C) 2024 ASTRON (Netherlands Institute for Radio Astronomy)
# SPDX-License-Identifier: GPL-3.0-or-later

add_test(
  NAME py_bench_array_response
  COMMAND
    python3 -m pytest -v -s --junit-xml=py_bench_array_response.xml
    --benchmark-json=py_bench_array_response.json
    ${CMAKE_CURRENT_SOURCE_DIR}/array_response.py)
set_tests_properties(
  py_bench_array_response
  PROPERTIES
    LABELS
    "pybindings;benchmarks"
    FIXTURES_REQUIRED
    mocks
    ENVIRONMENT
    "PYTHONPATH=${CMAKE_BINARY_DIR}/python:$ENV{PYTHONPATH};DATA_DIR=${DATA_DIR}"
)
