aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests
Commit message (Collapse)AuthorAgeFilesLines
* devtest: Integrate Python API Tester into DevtestVidush2018-08-104-2/+63
|
* devtest: Add more env vars, make Py3k compatibleMartin Braun2018-08-102-8/+18
| | | | | The testsuite now includes more environment variables for source dir, build dir, and PYTHONPATH.
* e320: Enable devtest for E320Sugandha Gupta2018-08-092-0/+58
| | | | - All tests pass except for gpio_test
* tests: Add multi_usrp_test.pyVidush2018-07-241-0/+624
| | | | | This is an API tester that uses the Python API to verify the correct behaviour of multi_usrp with respect to a hardware implementation.
* devtest: Minor Python fixesMartin Braun2018-07-171-18/+30
| | | | | - Fix some Pylint warnings - Improve output
* soft_register: Remove compiler warning, add unit testMartin Braun2018-07-112-1/+35
|
* UHD: Updated blockdef dest assertsMartin Braun2018-06-221-3/+3
|
* types: convert sensor_value_t to a mapBrent Stapleton2018-05-141-0/+7
|
* tests: Add unit test for meta_range_t ctorsMartin Braun2018-05-091-1/+19
|
* lib: Purge use of boost::assign, except for uhd::dictMartin Braun2018-05-025-48/+44
| | | | | | | Replaced with initialization lists. Note: uhd::dict does not work with initializer lists without making changes to said data structure. This commit has no functional changes, so keeping the boost::assigns for uhd::dict.
* dev_test: add N3xx devtestTrung N Tran2018-05-023-2/+61
|
* dev_test: usrp_prope.py update to find reachable mpm deviceTrung N Tran2018-05-021-0/+2
|
* fixup! rfnoc: ctrl_iface cleanupmichael-west2018-04-301-2/+1
|
* fixup! rfnoc: ctrl_iface cleanupMartin Braun2018-04-201-1/+6
|
* lib: adding == and != for uhd::dictBrent Stapleton2018-04-021-0/+39
|
* lib: adding device_addr_t constructor from mapBrent Stapleton2018-04-021-0/+9
| | | | | Adding constructor for device_addr_t that takes a map<string, string> as an argument.
* rfnoc: ctrl_iface cleanupMartin Braun2018-03-161-33/+30
| | | | | | | | | | - ctrl_iface is now longer a wb_iface. All it can do now is send command packets, and receive responses to those. - ctrl_iface does not store command time or tick rate - wb_iface_adapter is no longer a set of functors, but a wrapper around ctrl_iface. Command times are stored once, in the block. - DMA FIFO and radio block controllers have an easier time getting access to a timed_wb_iface
* examples: Update benchmark_rate (more stats, timestamps)Martin Braun2018-03-141-4/+4
| | | | | | | | - Messages are all timestamped, enables better understanding of the output log - Less usage of Boost - More stats (differentiate between RX and TX timeouts and sequence errors)
* uhd: Move internal headers to uhdlib/Martin Braun2018-03-141-2/+2
| | | | | | | | | | | | | | | | To avoid the proliferation of additional include directories and multiple ways of including project-local headers, we now default to moving all headers that are used across UHD into the uhdlib/ subdirectory. Some #include statements were also reordered as they were modified for closer compliance with the coding guidelines. Internal cpp source files should now include files like this: #include <uhdlib/rfnoc/ctrl_iface.hpp> Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
* uhd: Moved get_system_time outside of public APIMartin Braun2018-03-052-18/+32
| | | | | | | uhd::get_system_time() is an abstracted way of reading back a time, and is not UHD-specific. As such, there's no reason to keep it in the public part of the API where we're contractually obligated not to touch it. Instead, moving it to the internal API space.
* devtest: Add list_sensors testMartin Braun2018-02-273-0/+37
|
* test: devtest: devtest_e3xx.py: Fix copy & paste errorMoritz Fischer2018-02-261-1/+0
| | | | | | | | | | Fix copy & paste error where "B210" type made it's way into the E3XX test. Fixes 88b0baeaf ("tests: More devtests, works on E3XX now") Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> Signed-off-by: Martin Braun <martin.braun@ettus.com>
* lib: Add path_expandvars() internal API callMartin Braun2018-02-202-0/+95
|
* uhd: Update license headersMartin Braun2018-02-1965-62/+128
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* lib: Add config_parser classMartin Braun2018-02-012-0/+110
| | | | | | | This class is not publicly exported. It is meant to read config files in the INI format. Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* uhdlib: Update constrained_device_args_tMartin Braun2018-01-182-0/+107
| | | | | | | - Allow enums to be non-consecutive - Move to uhdlib/ - Add unit tests - Updated N230 use of constrained_device_args_t
* uhd: Add narrow_cast and narrowMartin Braun2018-01-122-0/+22
| | | | Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
* types: sensor_value_t can now be created from mapMartin Braun2017-12-222-0/+96
| | | | - Adds unit tests for sensor_value_t also
* Move all license headers to SPDX format.Martin Braun2017-12-2260-720/+60
|
* convert: Add sc12-sc16 convertersTom Tsou2017-07-181-3/+28
| | | | | | | | | | | | | | | | | Create missing sc12-sc16 and sc16-sc12 type converters. To avoid replicating the full sc12 converter class object, overload the converter calls with C++11 std::enable_if metafunctions. When used with std::is_floating and std::is_integral templates, this allow a single template interface with compile time function selection and static type checking. Note the below std::enable_if interface is confusing, but quite effective in this case. typename enable_if<is_floating_point<type>::value>::type* = NULL Fixes: #966 Related: #967, #1721
* Merge branch 'maint'Martin Braun2017-07-171-2/+7
|\
| * converters: Added some tolerance for floating point-based tests to account ↵Martin Braun2017-07-071-2/+7
| | | | | | | | for acceptable rounding
* | uhd: tasks now use std::threads under the hood, and can't be interruptedMartin Braun2017-06-282-0/+39
| | | | | | | | | | USRP1 and USRP2 used tasks that relied on Boost thread interruption mechanisms. These were replaced with explicit atomics.
* | Merge branch 'maint'Martin Braun2017-06-021-1/+1
|\|
| * RTS: DevTest failure work around by increasing time between testTrung N Tran2017-06-021-1/+1
| |
* | Types: Added equality/inquality operators to support Boost.Python additionsPaul David2017-05-232-0/+17
| | | | | | | | | | | | - Added to subdev_spec_pair_t - Added to range_t - Added tests for the inequalities
* | log: Split add_logger() out of the main logging headerMartin Braun2017-05-121-0/+1
| | | | | | | | | | This way, C++11 features are not required to build with UHD headers included.
* | log: Moved fastpath logging to its own threadMartin Braun2017-04-241-0/+2
| |
* | log: Fix missing add_logger, fix clearing of queueMartin Braun2017-04-201-3/+10
| |
* | utils: introduce new logging API and remove msg APIAndrej Rode2017-02-202-11/+10
| |
* | uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-109-22/+14
| | | | | | | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* | Merge branch 'maint'Martin Braun2017-02-101-1/+0
|\|
| * tests: devtest:remove wait for claimerAndrej Rode2017-02-081-1/+0
| |
* | Merge branch 'maint'Martin Braun2017-01-171-3/+3
|\|
| * utils: tests: cast RAND_MAX to double before divisionAndrej Rode2017-01-121-2/+2
| |
| * tests: fix coverity reportsAndrej Rode2017-01-121-1/+1
| |
* | Merge branch 'maint'Martin Braun2016-12-133-1/+50
|\|
| * tests: Added bitbang test, added to x3x0 devtestMartin Braun2016-12-093-1/+50
| |
| * devtest: flush stdout after print statementsAndrej Rode2016-12-011-0/+2
| |
| * devtest: dont check number of samples in benchmark rate test and acceptAndrej Rode2016-12-013-8/+17
| | | | | | | | 10 underruns in SISO