Commit graph

35 commits

Author SHA1 Message Date
Paul Kronenwetter
c15b11fe7b Fix tests and tnc after merge. 2022-06-15 19:42:12 -04:00
Paul Kronenwetter
ba4bc03a87 Renaming test utilities as util_.
Removed test_arq_short from the list while it's being rewritten.
2022-06-15 19:40:14 -04:00
Paul Kronenwetter
4bff7a5027 Clean up two existing tests.
Adapted both tests to pytest and maintained
compatibility with existing ctest method.
Tweaked CMakeLists.txt .
2022-06-15 19:37:55 -04:00
Paul Kronenwetter
3874cc19ad Completed initial set of tests. 2022-06-15 19:37:55 -04:00
Paul Kronenwetter
56c4571086 Initial attempt to create unit tests for DATA class (tnc). 2022-06-15 19:37:55 -04:00
Paul Kronenwetter
5c6cee1c21
Enhance tests (#185)
* Initial attempt to create unit tests for DATA class (tnc).

* Completed initial set of tests.

* Adding pytest to install packages.

* Corrects issue #173 fix

I didn't look carefully enough at `helpers.check_callsign` to see that it returns a list. The first element of the list is `True`/`False`.

* Making check_callsign evaluation more consistent.

* Update .gitignore

this is more a test commit to see if GitHub Client for MacOS is working,

* mkfifo test prototype

First partially working prototype for testing the full tnc with mkfifo named pipes.

* single tnc test file

moved to a single file for running tnc tests

* fixed typo

* Added parameters to tests.

Make other minor tweaks and documentation.

* Clean up two existing tests.

Adapted both tests to pytest and maintained
compatibility with existing ctest method.
Tweaked CMakeLists.txt .

* Adding pure python  highsnr_stdio_P_P_multi test.

Intended to replace highsnr_stdio_P_P_multi which uses POSIX shell.

* Adding pure python  highsnr_stdio_P_P_datac0 test.

Intended to replace highsnr_stdio_P_P_datac0 which uses POSIX shell.

* Parameterize recent tests.

Renamed datac0 to datacx after including all data codecs in test.

* Parameterize mode as well.

Add ability to run tests from main directory as well as within test/.

* Add list of tests and brief descriptions.

* Add more native python tests conversions.

* Update README with new tests.

* Tweak README again.

* Rename test to be findable by pytest.

* Rename test for ctest.

* Update correct file this time.

* Minor test tweaks.

* Add modem test proof-of-concept.

* Adjustment to ARQ short test.

* Various refactorings.

Type hints, trailing backslash, range usage, etc.

* Ignore unknown arguments in argparse.

* Minor cleanups.

* Update test/README.md.

* Update test_pa to quiet pylint.

* Give up trying to suppress structlog output.

* Correct module comments.

* Remove excess trailing spaces.

* Remove excess newlines.

* Various refactorings.

Type hints, trailing backslash, range usage, etc.

* mkfifo test prototype

First partially working prototype for testing the full tnc with mkfifo named pipes.

* Update test_tnc and tweak IRS/ISS.

* Correct test_modem to detect failures.

* Trying to be less dependent on env variables.

* Add IRS/ISS tests to ctests

* Pin codec2 revision to v1.0.3.

* Correcting git mistake.

* Pin codec2 revision to master.

This should be a specific release, that implements freedv_set_tuning_range.

Co-authored-by: DJ2LS <75909252+DJ2LS@users.noreply.github.com>
2022-05-21 23:04:17 +00:00
dj2ls
a90abb122f enable/disable cq response
Enable and disable CQ response via GUI. Also moved settings to settings modal - with a small redesign. Auto updater still WIP
2022-04-18 17:17:53 +02:00
dj2ls
013b494279 fixed ctest for arq 2022-01-04 16:34:20 +01:00
dj2ls
6f3e8b9468 first arq ctest 2022-01-04 15:29:51 +01:00
drowe67
342dd29747 audio buffer thread sfaety test 2021-12-21 08:20:02 +10:30
drowe67
2cc319c857 renamed tests 2021-12-21 07:22:14 +10:30
dj2ls
2bca7b26cd multimode callback tests
first working version
2021-12-20 12:15:35 +01:00
dj2ls
83b420be9a changed folder structure
removed subdirectories for each test group
2021-12-20 11:10:41 +01:00
dj2ls
9608e3412d additional test with decoding outside callback
added this to see any differences
2021-12-20 10:33:35 +01:00
dj2ls
a6d60dea1c initial callback test
crashes at the moment within resambler
2021-12-19 15:04:35 +01:00
drowe67
37c57b83f6 test_virtual2.sh pasing most of the time 2021-12-16 17:53:11 +10:30
drowe67
64b7582913 resampler working with pipe tests, but not virtual sound card 2021-12-16 13:54:59 +10:30
drowe67
b95562740a automated test for FreeDV resampler 2021-12-16 07:50:24 +10:30
David Rowe
09ae2b78fe extend timeout for slightly slower machine 2021-12-15 17:24:10 +10:30
drowe67
cbd89324f3 multimode virtual test working better 2021-12-15 16:43:47 +10:30
drowe67
c7159fdce2 tweak comments 2021-12-15 14:07:26 +10:30
dj2ls
b27563fe77 redesign of buffer management 2021-12-14 23:07:01 +01:00
drowe67
2642ae414b added finer grained tests - cirtual sound card using aplay/arecord which works well 2021-12-15 07:21:54 +10:30
drowe67
55ae1c31ef counting errors based on rx_status 2021-12-15 07:00:20 +10:30
drowe67
b8a9f4126b first attempt at test using virtual sound cards 2021-12-14 13:18:12 +10:30
dj2ls
e79aa0b457 multimode testrun
added multimode test and added a SM and MM for single mode and multimode
2021-12-13 21:11:09 +01:00
dj2ls
9565005f71 meaningful mode names
easier mode selection by string name like datac0 instead of 14
2021-12-13 19:00:38 +01:00
drowe67
2f4a04a233 removed test 000 2021-12-13 08:51:27 +10:30
drowe67
1a5d9e632b added constants to codec2.py, interpreting modes as meaningful strings 2021-12-13 08:09:03 +10:30
dj2ls
f70be11d95 added more tests 2021-12-12 13:54:23 +01:00
dj2ls
8fe215be3e changed frames to framesperburst
parameters should be homogenous as well
2021-12-12 12:12:05 +01:00
drowe67
fde0c1432c testing multiple frames per burst 2021-12-12 09:45:23 +10:30
drowe67
d132357d9c 001 test_tx.py working, tested against freedv_data_raw_rx 2021-12-12 09:20:53 +10:30
drowe67
beb5327a78 correct LD_LIBRARY_PATH 2021-12-12 08:35:06 +10:30
drowe67
06d88a5ca1 skeleton cmake test framework, not doing any significant etsting yet 2021-12-12 08:09:31 +10:30