aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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: test_base add wait time between uhd_usrp_probe callsAndrej Rode2016-11-091-0/+1
|
* 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).
* tests: Updated RFNoC tests after some API changesMartin Braun2016-10-193-6/+19
|
* 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
* 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
| |
* | uhd: Added expert dependency tracking infrastructureAshish Chaudhari2016-02-122-0/+257
| | | | | | | | | | | | | | - Code location uhd/lib/experts - expert_nodes.hpp contains all node definitions: data and worker - expert_container.hpp contains the memory manager and resolver for expert nodes - expert_factory contains the initializer and modifier for expert_container
* | prop_tree: Added advanced coercion capability to propertyAshish Chaudhari2016-02-111-1/+52
| | | | | | | | | | | | - Added auto and manual coerce modes - Added set_coerced API for manual coercion - Added detailed doxy comments describing behavior of property class
* | prop_tree: Multiple API enhancements to uhd::propertyAshish Chaudhari2016-02-111-6/+6
| | | | | | | | | | | | | | | | | | - Added desired and coerced values and accessors to property - Added support to register desired subscribers - set APIs don't reallocate storage for a property value - Renamed callback method registration APIs - Registering 2 coercers or publishers for a property will throw - Registering a coercer and a publisher for the same property will throw
* | tests: More devtests, works on E3XX nowMartin Braun2015-11-117-5/+140
| | | | | | | | | | | | | | - devtest now gets installed - uhd_usrp_probe test - Added make test_e3xx - Minor fixes to previous devtests
* | tests: Added first batch of device testsMartin Braun2015-10-0714-0/+967
| | | | | | | | | | - Currently supported: B2xx, X3x0 - Runs some simple examples
* | tests: Initialize test value to avoid bit width related issuesMartin Braun2015-09-081-0/+1
| |
* | convert: Added s8, s16 types and did some refactoringMartin Braun2015-09-011-4/+159
|/
* Remove CMake 3.0+ warningsNicholas Corgan2015-08-131-3/+0
|
* C API cleanup, feature additionsNicholas Corgan2015-08-123-29/+31
| | | | | | * Cleaned up usage of handles vs. handle pointers * Store global string for last error thrown * Removed uhd::device_addr_t handle, added std::vector<std::string> handle
* C API: feature additions, bugfixesNicholas Corgan2015-08-073-0/+93
| | | | | | * Wrapped uhd::device_addrs_t, added find functions for multi_usrp, multi_usrp_clock * Replaced getopt with public domain implementation * Minor bugfixes
* uhd: C API wrapperNicholas Corgan2015-08-066-0/+1084
| | | | | | | * multi_usrp, multi_usrp_clock, and associated classes accessible through C * Added Doxygen documentation explaining structure and API * Simple RX and TX streaming examples * Unit tests for different parts of C interface and C++ error conversion
* convert: Added converters for raw stringsMartin Braun2015-07-311-0/+40
| | | | | - u8: Converts arbitrary-length strings from and to item32 - item32->item32 memcpy non-conversion
* cmake: MinGW improvementsNicholas Corgan2015-07-231-5/+1
| | | | | | * Improved toolchan file, accounts for different versions * Don't force static runtime linking (was causing test errors) * Include MinGW runtime in packaging
* tests: fix use of 'uint32_t' to be in the correct namespace 'boost::'.Michael Dickens2015-04-081-61/+61
|
* Fixed master-specific warningsNicholas Corgan2015-03-271-1/+4
| | | | | * MinGW: unused parameter warning, MSVC-specific pragma * MSVC: bool narrowing
* Merge branch 'maint'Martin Braun2015-03-272-5/+5
|\
| * Warning fixesNicholas Corgan2015-03-272-5/+5
| | | | | | | | | | | | | | * CMake now not applying C++ flags to C files * GCC 4.4: anti-aliasing rules * MSVC: narrowing, differences in subclass function parameters * Clang: uninitialized variables
* | Merge branch 'maint'Martin Braun2015-03-112-29/+29
|\| | | | | | | | | Conflicts: host/include/uhd/transport/vrt_if_packet.hpp
| * uhd: Fixed several type-cast related warnings for naggy compilersMartin Braun2015-03-112-29/+29
| |
* | uhd: Fixed multiple compiler warningsMichael Dickens2015-03-116-74/+74
| | | | | | | | | | | | - Use ULL and LL etc. so compiler doesn't need to decide constant's types - define the empty 'while' loop to include {} to make older compilers happy - Use explicit type names for BOOST_CHECK_EQUAL
* | uhd: Added an update() method for dictsMartin Braun2015-01-272-0/+32
| | | | | | | | Very similar to Python's dict.update().
* | Added support for MinGW cross-compileNicholas Corgan2015-01-131-2/+6
| | | | | | | | | | | | * Added CMake toolchain file, compatible with different versions * No dependency on MinGW runtime, all statically linked * Misc coding tweaks to allow MinGW to compile
* | transport: Made CHDR-related routines separate from VRTMartin Braun2014-12-032-1/+143
| | | | | | | | | | | | Our VRT routines have the option to switch, on the fly, between VRLP and CHDR. This adds new CHDR-specific (un-)packers, which can only work with CHDR.
* | math: Added a portable log2()Martin Braun2014-11-202-0/+30
| |
* | uhd: Added sid_tMartin Braun2014-10-282-0/+159
|/ | | | | | | This is a data type to represent SIDs (stream IDs). It includes setters and getters for all components of the SID, converters to and from string and uint32 as well as C++ streams.
* math: Added a new uhd::math namespace + float comparison routinesBen Hilburn2014-10-073-0/+490
| | | | | * Float comparison is applied to tuning logic in DSP cores. * Properly using INT_MAX/MIN constants, defined in utils/math.hpp
* uhd: Added an operator/ for (fs_path, size_t)Martin Braun2014-09-231-0/+21
| | | | | | | | | | | | | This is useful when constructing property tree paths. With this path, the following code would be valid: size_t mb_index = 0; fs_path mb_root = "/mboards"; mb_root = mb_root / mb_index; This is a shortcut for the (in UHD very common) mb_root = mb_root / boost::lexical_cast<std::string(mb_index);