| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* When cross compiling gnuradio, change how the test files are built.
Normally, the gnuradio QA code expects to run in the build tree. For the
cross compilng case, we cannot run the QA code during the build process.
The changes here allow the creation of an additional package that can be
installed on a target that will run the QA code against the installed
libraries.
Major changes are not using full paths to test files (since they include
paths that only exist on the build machine) and not setting environment
variables in the shell files to force the QA code to use code in the
build tree.
This patch disables the C++ only tests, these need some work and then they
can be added back for the cross compile case.
Signed-off-by: Philip Balister <philip@balister.org>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
|
|
|
| |
The chosen timeout of 100ms was too short for some cases. Increase to
max 2000ms, but check every 200ms.
Signed-off-by: Martin Braun <martin@gnuradio.org>
|
|
|
|
|
|
|
|
| |
The recv() call on a ZMQ socket produces a warning if the return value
is not stored. We follow the advice and check the return value, just in
case.
Signed-off-by: Martin Braun <martin.braun@ettus.com>
|
|
|
|
|
|
| |
find ./ -iname qa*.py | xargs autopep8 --in-place -a -a
mostly formats whitespace and gets rid of trailing semicolons
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All of the removed `from __future__ import` were needed in older
versions of Python (mostly 2.5.x and below) but later became mandatory
in most versions of Python 3 hence are not necessary anymore.
More specifically, according to __future__.py[1]:
- unicode_literals is part of Python since versions 2.6.0 and 3.0.0;
- print_function is part of Python since versions 2.6.0 and 3.0.0;
- absolute_import is part of Python since versions 2.5.0 and 3.0.0;
- division is part of Python since versions 2.2.0 and 3.0.0;
Get rid of those unnecessary imports to slightly clean up the codebase.
[1] https://github.com/python/cpython/blob/master/Lib/__future__.py
|
| |
|
| |
|
|
|
|
|
|
| |
The plain zeromq sockets are used instead of the corresponding ZMQ sink
block in order to expose the actual ZMQ interface and test errors like
invalid PMT message that cannot be tested with the ZMQ sinks.
|
|
|
|
|
|
|
|
|
| |
Fixes #2236
Allows to filter a multi-part message by key/topic on a sub source and
insert key/topic on a pub sink.
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
|
| |
|
| |
|
|
|
|
|
|
| |
The 250ms delay between starting a send and terminating a recv
was very boarderline when run on my machine. Increasing this
time slightly produces much more reliable results.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The core of this issue is the socket may not be ready when
add_socket returns from probe_manager. Add a delay to give the
socket time. Also make recv non-blocking, if the message is not
recevied it will throw an exception.
The thread was also calling poll with None. This is bad since
if socket never gets the message the thread will wait forever.
To help fail fast this patch also sets a time limit on the
polling thread.
This is referenced in #1261
|
|\ |
|
| | |
|
| |\ |
|
| |\ \ |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
sending data.
|
| | | | |
|
| |_|/
|/| | |
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ZeroMQ sink blocks will attempt to load all parts of a multi-part message
before processing tags and outputting items. Allows senders to take
advantage of ZeroMQ's zero-copy message delivery.
Add check for incompatible data sizes between ZMQ endpoints.
Fixes #1080
|
|/ |
|
|\ |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The QA tests are run twice, once for stdout, once for XML out, this
causes problems because the network ports don't recycle fast enough
and the blocks get 'address in use' errors.
|
| |
|
| |
|
| |
|
|
|
|
| |
correctly, cleanup
|
| |
|
|\ |
|
| | |
|
|/ |
|
|
|
|
| |
in case of error.
|
|
|