aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\|
| * tests: Updated RFNoC tests after some API changesMartin Braun2016-10-193-6/+19
| |
* | Merge branch 'maint'Martin Braun2016-09-271-4/+4
|\|
| * Fixed floating point rounding error in converter testsDerek Kozel2016-09-261-4/+4
| | | | | | | | | | Integer rounding was producing out of range values and causing tests to fail
* | types: Cleaned up sid.hppMartin Braun2016-09-021-65/+66
|/ | | | | | - Made reversed() const - Removed boost::uint* types - Removed superfluous includes
* nocscript: Removed compiler warningMartin Braun2016-08-121-4/+4
|
* Merging RFNoC support for X310Martin Braun2016-08-0914-0/+2035
|
* Merge branch 'maint'Martin Braun2016-06-173-6/+7
|\
| * Fixed minor warningsNicholas Corgan2016-06-163-6/+7
| | | | | | | | | | | | * Mismatched printf format strings * Number truncation * Unreferenced variables
* | devtest: Fix $PATH-setting codeMartin Braun2016-05-092-25/+21
| | | | | | | | | | | | | | | | | | PATH was only set for the examples, but not for the initial call to uhd_find_devices. This reverts commit b7c296f58399f0ef1fee7b3ef3d7da957f551558, which tried to fix this but did so badly, and also amends it with the correct fix.
* | devtest: Run uhd_find_devices from current buildMartin Braun2016-04-221-2/+2
| |
* | Merge branch 'maint'Martin Braun2016-04-221-0/+8
|\| | | | | | | | | | | | | Conflicts: fpga-src host/cmake/Modules/UHDVersion.cmake host/lib/usrp/b200/b200_impl.cpp
| * math: Fixed floating point comparison for custom deltaMartin Braun2016-04-221-0/+8
| | | | | | | | Reviewed-By: Derek Kozel <derek.kozel@ettus.com>
* | devtest: Fixed case where B200 test could fail due to bad paramsMartin Braun2016-03-252-3/+3
| |
* | devtest: Backed out fast B2X0 rate tests so we can use the same test on USB2Martin Braun2016-03-251-24/+24
| |
* | devtest: fixed check for specific productNicholas Corgan2016-03-251-1/+1
| |
* | usrp: Added fe_connection type and unit testAshish Chaudhari2016-03-212-0/+109
| | | | | | | | | | - Wraps a sampling mode and IF frequency - Built-in parser to deduce swap,invert,mode bits from string connection
* | tests: devtests now check for timeouts and the sample countsMartin Braun2016-03-211-7/+30
| |
* | Merge branch 'maint'Ashish Chaudhari2016-02-181-1/+114
|\| | | | | | | | | | | Conflicts: host/lib/usrp/cores/gpio_core_200.cpp host/lib/usrp/dboard/db_ubx.cpp
| * Corrected the UHD behavior in the event of a USB disconnectDaulPavid2016-02-121-1/+114
| |
| * tests: Initialize test value to avoid bit width related issuesMartin Braun2015-09-021-0/+1
| |