aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/tests/CMakeLists.txt
blob: 36bff9d3a2cf39a40a828464d246726a529a67d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# Copyright 2019 Ettus Research, a National Instruments Brand
#
# SPDX-License-Identifier: GPL-3.0-or-later
#

########################################################################
# This file included, use CMake directory variables
########################################################################

add_test(
  NAME mpm_unit_tests
  COMMAND ${CMAKE_COMMAND} -E env
  PYTHONPATH=${CMAKE_BINARY_DIR}/python
  ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/run_unit_tests.py ${MPM_DEVICE}
)