aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/devtest
Commit message (Collapse)AuthorAgeFilesLines
* devtest: add universal_newlines to subprocess callTrung Tran2019-01-233-2/+4
| | | | | | | | | subprocess call in python3+ return stderr and stdout object is byte object instead of text. This caused many issue with parsing the ouput in devtest. These are not an issue in python2. This change will make devtest more python3 compatible. Signed-off-by: Trung.Tran<trung.tran@ettus.com>
* tests: replace has_key by using 'in'Trung Tran2019-01-235-8/+8
| | | | | | | python3+ dropped has_key function on dictionary. In order to make it compatible, we need to use 'in' keyword. Signed-off-by: Trung.Tran<trung.tran@ettus.com>
* devtest: Fix CMake `endif` warningBrent Stapleton2019-01-031-1/+1
| | | | When adding E320 devtests, the `endif` clause had the wrong argument, which resulted in a CMake warning.
* devtest: x3x0: Enable rx_samples_to_file in devtestSugandha Gupta2018-12-171-1/+1
|
* cmake: Properly register devtestMartin Braun2018-11-291-1/+3
| | | | | If N300 or E320 is disabled, the appropriate devtests are no longer registered.
* cmake: Update coding style to use lowercase commandsMartin Braun2018-11-141-15/+15
| | | | | | | | | | | | | | | | | Also updates our coding style file. Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code (with GNU compliant sed): cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done > convert.sed \ && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' \ '*CMakeLists.txt' | xargs -0 gsed -i -f convert.sed && rm convert.sed (Make sure the backslashes don't get mangled!)
* e320: devtest: Reduce sample rate for 1G devtestSugandha Gupta2018-09-261-1/+1
| | | | | | The E320 default master clock rate is 16MHz, therefore we need to reduce the 2 channel receive rate to 8MHz in order to be able to meet the requested rate.
* devtest: n3x0: Enable rx_samples_to_file testSugandha Gupta2018-09-141-1/+1
|
* devtest: e320: Re-enable rx_samples_to_file testSugandha Gupta2018-09-121-1/+1
| | | | | The test has been fixed in commit 9c7d251b32eb476e11f8fce13a797c4de9abc796 to parse for D and S correctly
* e320: gpio: Fix front panel GPIO readbackSugandha Gupta2018-09-121-1/+1
| | | | The gpio devtest passes after this fix. Enabling the test
* devtest: Improve error handling for shell_applicationMartin Braun2018-08-221-11/+17
|
* devtest: b2xx: Fix some arguments for MIMO testMartin Braun2018-08-221-5/+14
|
* devtest: Fix counting of underruns/overrunsMartin Braun2018-08-221-2/+2
| | | | Our regex was borked.
* devtest: Remove parsing for DD.. and SS..Martin Braun2018-08-224-16/+14
| | | | | | | Detecting drops by parsing for DD and SS was a flawed method. Tools should find those programmatically. Plus, the string 'DDC' would interfere with the regex. Also, we're now using UHD_LOG_FASTPATH_DISABLE.
* devtest: Default UHD_LOG_FASTPATH_DISABLE to 1Martin Braun2018-08-221-1/+11
|
* devtest: Clean up & refactorMartin Braun2018-08-222-35/+55
| | | | | - Move filter_* functions out of uhd_test_case - Reduced some line lengths
* 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
* 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
|
* 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)
* 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>
* uhd: Update license headersMartin Braun2018-02-1915-13/+33
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Move all license headers to SPDX format.Martin Braun2017-12-2214-168/+14
|
* RTS: DevTest failure work around by increasing time between testTrung N Tran2017-06-021-1/+1
|
* tests: devtest:remove wait for claimerAndrej Rode2017-02-081-1/+0
|
* 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
|
* 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
|
* 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
|
* tests: devtests now check for timeouts and the sample countsMartin Braun2016-03-211-7/+30
|
* 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-0713-0/+965
- Currently supported: B2xx, X3x0 - Runs some simple examples