aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | devtest: flush stdout after print statementsAndrej Rode2016-12-091-0/+2
| |
* | devtest: dont check number of samples in benchmark rate test and acceptAndrej Rode2016-12-093-8/+17
| | | | | | | | 10 underruns in SISO
* | calibration: generic containers for datasetsPaul David2016-11-292-0/+201
| | | | | | | | | | | | - Includes a container for power calibration data - Unit tests to check underlying container functionality - Nearest neighbor and bilinear interpolation
* | Merge branch 'maint'Martin Braun2016-11-151-0/+1
|\|
| * devtest: test_base add wait time between uhd_usrp_probe callsAndrej Rode2016-11-091-0/+1
| |
* | rfnoc: Removed transport endianness as make argMartin Braun2016-11-091-1/+0
| | | | | | | | | | | | | | | | | | This is only confusing, since the blocks do not have to care about endianness. The control interface needs to know (and takes care of it internally), and the streaming transport does the same (and does not directly connect to blocks). Reviewed-By: Michael West <michael.west@ettus.com>
* | Merge branch 'maint'Martin Braun2016-11-0811-46/+47
|\|
| * Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-0812-110/+111
| | | | | | | | | | | | | | | | types) - Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be <cstdint>, but not all of our compilers support that).
* | Merge branch 'maint'Martin Braun2016-10-263-6/+19
|\|