uhd/host/tests
Steven Koo 72ac96b23a devtest: reapply allow extra device arguments when running devtests
This change is substantially the same as 7b86a47, but implemented in a ninja
supported way. ninja doesn't allow for arguments, so this uses an environment
variable. This is compatible with both make and ninja. The only change
from the calling point of view is you must set the environment variable
before calling "make test_[devicetype]" instead of after as an arg.

This allows running devtests for a single device instead of all connected devices
or selecting a specific network interface.

Set the additional device arguments with the EXTRA_DEV_ARGS variable.
This can be set as an environment variable or on the command line.
For example: EXTRA_DEV_ARGS=addr=192.168.30.2 make test_x3x0

Also-by: Matthew Crymble <matthew.crymble@ni.com>
Signed-off-by: Steven Koo <steven.koo@ni.com>
2021-02-12 13:16:01 -08:00
..
common tests: Fix build issue with Boost 1.67 2020-09-11 00:47:35 -07:00
devtest devtest: reapply allow extra device arguments when running devtests 2021-02-12 13:16:01 -08:00
rfnoc_block_tests rfnoc: replay: Add support for 32-bit memory address widths 2020-09-03 09:40:34 -05:00
streaming_performance tests: Add more tests for max rate streaming 2019-12-18 09:58:58 -08:00
actions_test.cpp tests: Add unit test for USE_MAP action forwarding policy 2020-05-28 14:49:32 -05:00
addr_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
block_id_test.cpp rfnoc: Change Block-ID format to 0/FFT#1 2019-11-26 11:49:16 -08:00
blockdef_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
buffer_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
byteswap_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
cal_data_gain_pwr_test.cpp cal: Minor fixes in power container, add unit test 2020-05-26 12:58:10 -05:00
cal_data_iq_test.cpp uhd: math: Add interpolation.hpp 2020-04-07 07:24:19 -05:00
cal_database_test.cpp cal: database: Add option to register flash cal callbacks 2020-05-20 07:30:15 -05:00
cast_test.cpp utils: Add bool specialization to cast::from_str() 2020-03-18 07:43:20 -05:00
chdr_parse_test.cpp utils: Expose CHDR Parsing API 2020-07-13 15:21:52 -05:00
chdr_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
client_zero_test.cpp tests: Fix client_zero_test flush bit test 2020-04-08 16:35:03 -05:00
CMakeLists.txt uhd: Split radio_control into rf_control interfaces 2021-01-11 12:26:00 -06:00
config_parser_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
constrained_device_args_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
convert_test.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
dict_test.cpp uhd: dict: Add typecast operator to std::map<> 2019-11-04 09:57:49 -08:00
discoverable_feature_test.cpp uhd: Create discoverable feature registry implementation 2020-06-25 13:36:08 -05:00
dpdk_port_test.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
dpdk_test.cpp tests: Port polling-mode dpdk_test to new DPDK framework 2019-12-20 16:32:22 -08:00
eeprom_c_test.c uhd: Update license headers 2018-02-19 16:54:52 -08:00
eeprom_utils_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
error_c_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
error_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
expert_test.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
fe_conn_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
fp_compare_delta_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
fp_compare_epsilon_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
gain_group_test.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
interpolation_test.cpp lib: utils: interpolation: Add bilinear interpolation 2020-04-17 07:58:19 -05:00
isatty_test.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
link_test.cpp tests: add mock transport implementation and test 2019-11-26 11:49:18 -08:00
log_test.cpp utils: log: Fix includes for UHD_HEX() 2019-06-12 10:52:02 -07:00
math_test.cpp uhd: math: Add interpolation.hpp 2020-04-07 07:24:19 -05:00
mb_controller_test.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
module_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
multichan_register_iface_test.cpp rfnoc: Add multichannel register interface 2020-04-02 12:12:26 -05:00
narrow_cast_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
offload_io_srv_test.cpp rfnoc: Make polling I/O service not block on flow control 2019-11-26 12:21:33 -08:00
packet_handler_benchmark.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
paths_test.cpp tests: Print images dir instead of simply reading it 2020-04-17 14:39:41 -05:00
property_test.cpp uhd: revert "Check property type at access..." 2021-01-08 11:23:17 -06:00
pwr_cal_mgr_test.cpp tests: Add unit tests for pwr_cal_mgr 2020-05-20 15:19:07 -05:00
pychdr_parse_test.py python: Add payload agnostic methods to CHDR API 2020-07-16 09:59:25 -05:00
pyranges_test.py tests: Add infrastructure to run Python unit tests 2020-06-15 13:49:36 -05:00
ranges_c_test.c uhd: Update license headers 2018-02-19 16:54:52 -08:00
ranges_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
rf_control_gain_profile_test.cpp uhd: Split radio_control into rf_control interfaces 2021-01-11 12:26:00 -06:00
rfnoc_chdr_test.cpp utils: Expose CHDR Types in Public API 2020-07-13 15:21:52 -05:00
rfnoc_detailgraph_test.cpp tests: Add graph disconnect/reconnect unit test 2020-08-04 15:41:07 -05:00
rfnoc_graph_mock_nodes.hpp tests: Add unit test for USE_MAP prop forwarding policy 2020-05-28 14:49:32 -05:00
rfnoc_node_test.cpp rfnoc: Support instance overrides in set_properties() 2020-07-24 13:15:30 -05:00
rfnoc_property_test.cpp rfnoc: Support instance overrides in set_properties() 2020-07-24 13:15:30 -05:00
rfnoc_propprop_test.cpp tests: Add UT for node removal prop resol'n restoration 2020-11-20 07:21:52 -06:00
rx_streamer_test.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
scope_exit_test.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
sensors_c_test.c uhd: Update license headers 2018-02-19 16:54:52 -08:00
sensors_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
serial_number_test.cpp uhd: improved handling of empty serial number hints 2020-06-26 14:31:14 -05:00
soft_reg_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
sph_recv_test.cpp uhd: Replace all occurrences of boost::bind with std::bind 2019-11-26 12:21:32 -08:00
sph_send_test.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
streamer_benchmark.cpp RFNoC: Add xport disconnect callbacks 2020-08-04 15:41:07 -05:00
string_vector_c_test.c uhd: Update license headers 2018-02-19 16:54:52 -08:00
subdev_spec_c_test.c uhd: Update license headers 2018-02-19 16:54:52 -08:00
subdev_spec_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
system_time_test.cpp lib: Simplify implementation of uhd::get_system_time() to use <chrono> 2019-11-26 11:49:12 -08:00
tasks_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
time_spec_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
transport_test.cpp transport: Implement a single-threaded I/O service 2019-11-26 11:49:19 -08:00
tx_streamer_test.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
uhd_image_downloader_test.py uhd_images_downloader: Add environment variable for http auth 2020-10-15 16:00:54 -05:00
verify_fbs_test.py tests: fbs test: Fix issues around missing git 2020-08-25 07:10:53 -05:00
vrt_test.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00