DJ2LS
1342152edd
increased test timeouts - maybe this helps
2022-11-20 15:11:23 +01:00
Paul Kronenwetter
399177eca3
Revert Increase retries.
2022-10-22 10:12:50 -04:00
Paul Kronenwetter
0a30f3fd2c
Increase retries.
...
For some reason 1-1-datac1 is succeeding locally but
failing in the pipeline.
2022-10-22 09:59:37 -04:00
Paul Kronenwetter
4b37ea4d67
Adapt TNC States test to use the session ID
2022-10-21 14:56:25 -04:00
Paul Kronenwetter
cd00eaa851
Restore Python 3.6 compatibility
2022-07-04 17:18:10 -04:00
Paul Kronenwetter
361a67b67f
Remove unused imports
2022-07-03 13:41:34 -04:00
Paul Kronenwetter
305daca626
Test to validate processing of STOP frames.
2022-06-24 13:07:34 -04:00
Paul Kronenwetter
1deed67bfb
Merge pull request #219 from DJ2LS/issue_218_fix_with_test
...
Issue 218 fix with test
2022-06-20 20:02:14 -04:00
Paul Kronenwetter
9cb2cebddd
Merge remote-tracking branch 'origin/main' into issue_205_ping_no_call
2022-06-19 17:11:21 -04:00
Paul Kronenwetter
baa9ece4ad
Add test case to detect in the future
2022-06-19 16:45:31 -04:00
Paul Kronenwetter
e0d4117518
Re-add authorship tags.
2022-06-19 10:04:46 -04:00
Paul Kronenwetter
56695039b3
Add documentation to tests and utilities.
2022-06-19 09:55:50 -04:00
Paul Kronenwetter
1db20048fb
Remove redundant test.
2022-06-19 09:39:32 -04:00
Paul Kronenwetter
1e054c8343
Properly flag low/high bandwidth mode in chat test
2022-06-19 08:38:22 -04:00
Paul Kronenwetter
292754af2d
Initial cut of fix for issue #206 .
2022-06-17 19:48:47 -04:00
Paul Kronenwetter
ca1b079e4a
Remove commented code.
2022-06-17 16:15:09 -04:00
Paul Kronenwetter
fc1b838e8d
Improve tests slightly.
...
Change parameterization method, more retries for CQ.
Fix pingtest criteria.
Adjust CQ test criteria.
2022-06-17 15:45:52 -04:00
Paul Kronenwetter
73688299fd
Pass station number in tnc setup for logging
2022-06-17 07:41:52 -04:00
Paul Kronenwetter
845e08182f
Reinstate flaky reruns.
2022-06-16 21:21:51 -04:00
Paul Kronenwetter
f037f347fb
Add framework for "connect" test.
2022-06-16 21:10:36 -04:00
Paul Kronenwetter
d30a8863b6
Remove init causing problems.
2022-06-16 18:43:43 -04:00
Paul Kronenwetter
afede05732
Do a better job using environment variables.
2022-06-16 18:35:49 -04:00
Paul Kronenwetter
94df494041
Repair chat_text test
2022-06-15 21:12:21 -04:00
Paul Kronenwetter
c08d84ad90
Remove commented code
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
55b1f8c2cb
Update legacy TNC test
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
34cb6e2cb6
Replace some tests with unified test.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
9ace3a2491
Work toward unifying the end-to-end tests.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
0c243878ea
Add test for CQ
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
e289d6e17b
Add test for beacon
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
1ff6f95045
Reduce number of burst retries.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
e5f2f18798
Reduce variations to decrease test time.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
171b3b6b0a
Convert test to use sock.SOCKET_QUEUE.
...
Makes this consistent with other tests.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
97244edeb5
Add timeout to highsnr_stdio tests.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
7a3259eee2
Use pytest's tmp_dir fixture
...
Used for log file and FIFO files.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
f2f9fce6a4
Remove unused parameterizations.
...
Add retries.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
74abeec08d
Decrease number of frame retries.
...
Attempt to shorten the time failed tests take to end.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
84e74d31e2
Use a better way to exit the infinite while loop.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
ab772d1f70
Correct import fix.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
fa84850de2
Rename to chat text.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
a11c377a31
Minor updates
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
a13a2c0534
Clean up code and output.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
e183f9a419
Adjust checks to use SOCKET_QUEUE.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
1fcd7dbdec
Correct status check.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
d258fa74b3
Update checks for successful transmission.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
bd563012fa
Adapt test to use SOCKET_QUEUE rather than static.INFO.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
a9e60cd7bc
Revert add priming packet to FIFO.
...
This didn't work as intended.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
1cec49bf77
Add priming packet to FIFO.
...
This forces the originating TNC to be out-of-sync when receiving frames.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
04948552d0
Clean up imports.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
3bd4b4cb75
Remove first packet send.
...
Fix missed status enum reference.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
f0d327e98e
Adjust timeouts.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
448777af86
Add another rerun on test failure.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
80784d7114
Ignore type "errors."
2022-06-15 19:42:16 -04:00
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
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
a2992e6f0f
Trying to be less dependent on env variables.
2022-06-15 19:40:14 -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
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
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
6a565ffe41
Merge branch 'main' into refactor_N2KIQ-202205-2
2022-05-28 11:52:05 -04:00
Paul Kronenwetter
4c16efaf2c
Add retries to test_tnc to make passing more likely.
2022-05-24 18:28:06 -04:00
DJ2LS
e05bc262ad
and some more typos and whitespace correction..
2022-05-23 14:26:14 +02: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
ea133f054d
moved simple test from pyaudio to sounddevice
...
thisis just a test as I'm not happy with the overall way we are dong tests. This has been great during first steps with the tnc ( virtual audio devices ) but now we should to a more reliable way with named pipes for example
2022-04-30 12:27:14 +02: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
Paul Kronenwetter
ee2eb790fa
Minor typo correction.
2022-04-15 07:17:35 -04:00
dj2ls
7d6256ba6a
fixed ctest
2022-04-15 11:29:40 +02:00
Paul Kronenwetter
4358dd9c8a
Correcting some typos.
2022-04-10 13:20:58 -04:00
dj2ls
a2552be843
repeat frame ack and fixed repeat transmission from gui
2022-04-06 10:15:14 +02:00
dj2ls
16f23d2f1d
new chat release
2022-03-29 22:24:35 +02:00
dj2ls
1519c22358
connection mode, documentation, ...
...
changes in all areas
2022-03-04 16:50:32 +01:00
dj2ls
2d36411a72
fixed arq test
...
@drowe67 thanks, I forgit to move the test to the new fifo queue
2022-01-12 07:42:37 +01:00
dj2ls
32021ddfe5
updated readme
2022-01-12 07:32:09 +01:00
dj2ls
9458843a43
time meassurement for tests
...
added time meassurement for raw decoding time #106
2022-01-10 10:51:26 +01:00
DJ2LS
71be19ecc4
Merge branch 'main' into ls-hamlib-test
2022-01-05 11:54:31 +01:00
dj2ls
f93415d0b8
test and ARQ improvements
...
preparation for possible N>1 frames per burst
2022-01-04 23:02:29 +01:00
dj2ls
6f3e8b9468
first arq ctest
2022-01-04 15:29:51 +01:00
dj2ls
2256d87816
accessed static
2021-12-28 21:25:19 +01:00
dj2ls
50328946a2
latest changes
...
latest results from valley of tears
2021-12-28 18:25:52 +01:00
dj2ls
5a15064a35
slight cleanup
2021-12-28 17:36:50 +01:00
dj2ls
8cc4c33f0c
uploaded hamlib test
...
@drowe67 this is the file where I try to implement libhamlib directly
2021-12-28 17:27:26 +01:00