| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Print output from stdout and stderr upon error.
Signed-off-by: Michael West <michael.west@ettus.com>
|
|
|
|
|
|
|
| |
Adding necessary code to examine number of TX and RX channels and adjust
test cases accordingly.
Signed-off-by: Michael West <michael.west@ettus.com>
|
|
|
|
|
|
| |
Adding method to get number of TX and RX channels to usrp_probe.
Signed-off-by: Michael West <michael.west@ettus.com>
|
|
|
|
|
|
|
| |
Allow success if testing either TX or RX. Previously required both TX
and RX to be tested simultaneously.
Signed-off-by: Michael West <michael.west@ettus.com>
|
| |
|
|
|
|
|
|
| |
- Fixes issues with test_messages_test (it had inverted the pass/fail
condition)
- Improve Pylint scores in affected files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes warnings such as this during devtest:
/home/mbr0wn/src/uhddev/host/tests/devtest/uhd_test_base.py:112:
ResourceWarning: unclosed file <_io.TextIOWrapper
name='./results_x300_F457AD.log' mode='r' encoding='UTF-8'>
self.results = yaml.safe_load(open(self.results_file).read()) or {}
/path/to/uhd/host/tests/devtest/uhd_test_base.py:150:
ResourceWarning: unclosed file <_io.TextIOWrapper
name='./results_x300_F457AD.log' mode='w' encoding='UTF-8'>
yaml.dump(self.results, default_flow_style=False))
ok
|
|
|
|
| |
Use Python's `ruamel.yaml` module instead of `yaml`
|
|
|
|
|
|
|
| |
Co-Authored-By: Alex Williams <alex.williams@ni.com>
Co-Authored-By: Sugandha Gupta <sugandha.gupta@ettus.com>
Co-Authored-By: Brent Stapleton <brent.stapleton@ettus.com>
Co-Authored-By: Ciro Nishiguchi <ciro.nishiguchi@ni.com>
|
|
|
|
|
|
|
|
|
| |
This removes the following symbols:
- otw_type_t
- clock_config_t
- Any functions that use those symbols
- Non-standard args from examples (e.g., --total-time is deprecated in
favour of --duration)
|
|
|
|
|
|
|
|
|
|
|
| |
Usually, devtest is run via make (or ninja), and will use the correct
Python interpreter. When running directly on the command line, it is
important to pick the right Python interpreter so it will work with the
Python API.
Here, we change the default interpreter from Python 2 to 3, because
that's the more common version, and will be the only option for upcoming
UHD 4.0 anyway.
|
| |
|
|
|
|
| |
This will run tx_waveforms with a few settings.
|
|
|
|
|
| |
When running 'make test_***', it now also defaults to
RUNTIME_PYTHON_EXECUTABLE.
|
|
|
|
| |
Updating all SPDX license identifiers to include "-or-later"
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
When adding E320 devtests, the `endif` clause had the wrong argument,
which resulted in a CMake warning.
|
| |
|
|
|
|
|
| |
If N300 or E320 is disabled, the appropriate devtests are no longer
registered.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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!)
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
The test has been fixed in commit 9c7d251b32eb476e11f8fce13a797c4de9abc796
to parse for D and S correctly
|
|
|
|
| |
The gpio devtest passes after this fix. Enabling the test
|
| |
|
| |
|
|
|
|
| |
Our regex was borked.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
- Move filter_* functions out of uhd_test_case
- Reduced some line lengths
|
| |
|
|
|
|
|
| |
The testsuite now includes more environment variables for source dir,
build dir, and PYTHONPATH.
|
|
|
|
| |
- All tests pass except for gpio_test
|
|
|
|
|
| |
This is an API tester that uses the Python API to verify the correct
behaviour of multi_usrp with respect to a hardware implementation.
|
|
|
|
|
| |
- Fix some Pylint warnings
- Improve output
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- 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)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
All copyright is now attributed to "Ettus Research, a National
Instruments company".
SPDX headers were also updated to latest version 3.0.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
10 underruns in SISO
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|