File: CMakeLists.txt

package info (click to toggle)
wsclean 3.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,968 kB
  • sloc: cpp: 85,742; python: 3,526; sh: 245; makefile: 21
file content (19 lines) | stat: -rw-r--r-- 764 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# SPDX-License-Identifier: LGPL-3.0-only

# List of tests
set(TEST unittests_radler_pybindings)

# Full path to PYTESTFILES should be specified
set(PYTESTFILES
    ${CMAKE_CURRENT_SOURCE_DIR}/test_component_list.py
    ${CMAKE_CURRENT_SOURCE_DIR}/test_psf.py
    ${CMAKE_CURRENT_SOURCE_DIR}/test_radler.py
    ${CMAKE_CURRENT_SOURCE_DIR}/test_settings.py
    ${CMAKE_CURRENT_SOURCE_DIR}/test_work_table.py)

# Add pybindings tests, can be invoked with "ctest -L pybindings"
add_test(NAME ${TEST} COMMAND python3 -m pytest -v -s --exitfirst
                              --junit-xml=${TEST}.xml ${PYTESTFILES})
set_tests_properties(
  ${TEST} PROPERTIES LABELS "pybindings" ENVIRONMENT
                     "PYTHONPATH=${CMAKE_BINARY_DIR}/python:$ENV{PYTHONPATH}")