diff options
author | Samuel O'Brien <sam.obrien@ni.com> | 2020-06-25 15:43:32 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-07-16 09:59:25 -0500 |
commit | 919a147afcbecace5107a4d0a4da556cfd56df92 (patch) | |
tree | c7b5faea5b89069232e7fb9f7cfebe1e495f4bca /host/tests/CMakeLists.txt | |
parent | be6491428db599867129733f73e7ce0ce23e05a7 (diff) | |
download | uhd-919a147afcbecace5107a4d0a4da556cfd56df92.tar.gz uhd-919a147afcbecace5107a4d0a4da556cfd56df92.tar.bz2 uhd-919a147afcbecace5107a4d0a4da556cfd56df92.zip |
python: Add bindings for C++ CHDR Parser
This commit adds pybind11 glue code for the userland chdr parsing code
introduced in the uhd::utils::chdr namespace. Additionally, it moves
some pybind11 adapter code to a common pybind_adaptors.hpp file which
originally existed in the cal_python.hpp file.
This commit also adds unit tests for the python bindings using a
captured wireshark trace which is located in rfnoc_packets_*.py and some
handwritten packets in hardcoded_packets.py
Signed-off-by: Samuel O'Brien <sam.obrien@ni.com>
Diffstat (limited to 'host/tests/CMakeLists.txt')
-rw-r--r-- | host/tests/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/tests/CMakeLists.txt b/host/tests/CMakeLists.txt index a304c9783..ededdaa2b 100644 --- a/host/tests/CMakeLists.txt +++ b/host/tests/CMakeLists.txt @@ -70,6 +70,7 @@ set(test_sources set(pytest_sources pyranges_test.py verify_fbs_test.py + pychdr_parse_test.py ) #turn each test cpp file into an executable with an int main() function |