Commit graph

4856 commits

Author SHA1 Message Date
Paul Kronenwetter
ea356f963a Help CPU load in while loop.
Tried 0.05 but it caused test failures.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
1071ef58e1 Remove dependence on static FRAME_TYPE enum. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
2481102fa2 Increase timeout for slower test machines. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
b618fe6c89 Fix minor import problem. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
79a1ba2302 Short and long data transfer test.
These appear to work reasonably well with an
occasional transient failure.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
0ff2b69895 Adjust for setup_logging enhancement. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
59dbf4174d Work toward a usable test. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
b3e0d1de1b Refactor tnc_states test.
This will avoid cross-test interference this test has caused.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
55fc2d2263 Adjustments to WIP utilities. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
d478724558 Reduce number of retries. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
e079c49729 Correct internal test order dependency. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
af355244a1 Use pytest-rerunfailures instead of re-inventing it. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
9d268b99ad Add change to test directory for high SNR python tests. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
c15b11fe7b Fix tests and tnc after merge. 2022-06-15 19:42:12 -04:00
Paul Kronenwetter
1f8106258d Adding bandwidth switch for arq test. 2022-06-15 19:40:14 -04:00
Paul Kronenwetter
a6d1f89687 Restore accidentally deleted code. 2022-06-15 19:40:14 -04:00
Paul Kronenwetter
f695e6e2af Collapse repeated code to a function.
Add function parameter and return types.
Move logging to a class variable.
Extended use of FREEDV_MODE enum.
Moved TESTING check to arq_cleanup.
2022-06-15 19:40:14 -04:00
Paul Kronenwetter
2d5ebd5846 Minor reworking of the source Pythonness. 2022-06-15 19:40:14 -04:00
Paul Kronenwetter
b89be14319 Initial implementation. 2022-06-15 19:40:14 -04:00
Paul Kronenwetter
3a8cc57a72 Update for consistency with other tests. 2022-06-15 19:40:14 -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
f0f7c94058 Pin codec2 revision to master.
This should be a specific release, that implements freedv_set_tuning_range.
2022-06-15 19:40:14 -04:00
Paul Kronenwetter
dbeea31f9d Correcting git mistake. 2022-06-15 19:40:14 -04:00
Paul Kronenwetter
f742a8a435 Pin codec2 revision to v1.0.3. 2022-06-15 19:40:14 -04:00
Paul Kronenwetter
a2992e6f0f Trying to be less dependent on env variables. 2022-06-15 19:40:14 -04:00
DJ2LS
f58bc10b89 mkfifo test prototype
First partially working prototype for testing the full tnc with mkfifo named pipes.
2022-06-15 19:40:14 -04:00
Paul Kronenwetter
38f468adce Various refactorings.
Type hints, trailing backslash, range usage, etc.
2022-06-15 19:40:11 -04:00
Paul Kronenwetter
866388b625 Remove excess newlines. 2022-06-15 19:37:55 -04:00
Paul Kronenwetter
7d163ac189 Remove excess trailing spaces. 2022-06-15 19:37:55 -04:00
Paul Kronenwetter
46f95ad94e Ignore unknown arguments in argparse. 2022-06-15 19:37:55 -04:00
Paul Kronenwetter
1866e40145 Various refactorings.
Type hints, trailing backslash, range usage, etc.
2022-06-15 19:37:55 -04:00
Paul Kronenwetter
16f666c906 Update correct file this time. 2022-06-15 19:37:55 -04:00
Paul Kronenwetter
e579a39fc3 Tweak README again. 2022-06-15 19:37:55 -04:00
Paul Kronenwetter
ce757ec38a Update README with new tests. 2022-06-15 19:37:55 -04:00
Paul Kronenwetter
83d1c44a2b Add list of tests and brief descriptions. 2022-06-15 19:37:55 -04:00
Paul Kronenwetter
017005031f Parameterize recent tests.
Renamed datac0 to datacx after including all data codecs in test.
2022-06-15 19:37:55 -04:00
Paul Kronenwetter
739ab03343 Adding pure python highsnr_stdio_P_P_datac0 test.
Intended to replace highsnr_stdio_P_P_datac0 which uses POSIX shell.
2022-06-15 19:37:55 -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
2325803dd3 Added parameters to tests.
Make other minor tweaks and documentation.
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
c0c1518fd0 Another round of formatting changes.
Implement class-level logging in places.
2022-06-15 19:37:08 -04:00
Paul Kronenwetter
bea8679cef Prefer double- over single-quote.
Other minor fixes.
2022-06-15 19:35:21 -04:00
DJ2LS
0b3c293480 and some more typos and whitespace correction.. 2022-06-15 19:34:29 -04:00
DJ2LS
8a66555e8b Accepted some Sourcery solutions 2022-06-15 19:31:00 -04:00
DJ2LS
520f32aac2 Second run reducing number of problems 2022-06-15 19:29:01 -04:00
DJ2LS
c71369aa44 First run reducing number of problems 2022-06-15 19:27:26 -04:00
dj2ls
debe742081 audio tuning level hotfix 2022-06-15 15:03:54 +02:00
DJ2LS
34bf67dedd
Merge pull request #212 from DJ2LS/raspberry_pi_chat_fix
fixed database not loading on ARM devices
2022-06-15 14:35:07 +02:00
dj2ls
25a5c1b47a fixed database not loading on ARM devices 2022-06-15 14:34:17 +02:00