Commit graph

193 commits

Author SHA1 Message Date
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
Paul Kronenwetter 4ce0fb4de9 Pyinstaller 5.1 breaks our build. 2022-05-18 18:33:54 -04:00
DJ2LS ea7f298806
Update issue templates 2022-04-16 16:08:09 +02:00
DJ2LS 55ec5d12a8
Update issue templates 2022-04-07 11:27:55 +02:00
DJ2LS f8c8b63f42
Update issue templates 2022-04-07 11:27:11 +02:00
dj2ls 860865004a updated build action 2022-03-30 21:40:29 +02:00
dj2ls a65a677f49 updated sounddevice setup routine
this possible fixes -9998 channel errors
2022-03-30 17:53:35 +02:00
dj2ls 0c41b8b4a7 added sounddevice to github action 2022-03-29 16:45:00 +02:00
dj2ls fde70b114e added sounddevice to github action 2022-03-29 16:44:33 +02:00
dj2ls fd0c9e95ac updated build action 2022-03-14 20:35:49 +01:00
dj2ls a552109265 changed python version to 3.8
we need this for beeing compatible with the precompiled hamlib binding. We might improve this somewhen later...
2022-03-08 09:27:53 +01:00
dj2ls 87ba2d374f fixed auto updater
error when update downloaded
2022-02-25 13:10:54 +01:00
dj2ls 80a23da83a updated build action
new day ...
2022-02-25 10:29:38 +01:00
dj2ls cd7ab90bc1 updated build action
new day ...
2022-02-25 10:00:18 +01:00
dj2ls 60b3fccad6 updated build action
new day ...
2022-02-25 09:52:58 +01:00
dj2ls a358560c9f updated build action
new day ...
2022-02-25 09:28:42 +01:00
dj2ls 31c1bcac36 optimzed build action
tnc single builds are now provided AFTER electron builder
2022-02-23 08:51:06 +01:00
dj2ls ca9a5140a2 updated version information inside tnc
and some changes for our github actions as well...
2022-02-23 08:12:24 +01:00
dj2ls 9ef052bb69 updated build workflow
I removed the nightly builds now, as the alpha builds are much more structured
2022-02-23 07:48:03 +01:00
dj2ls a4a59b3edf updated build workflow
we want to have the tnc binaries as standalone files in our releases as well. So this is the first attempt...
2022-02-23 07:36:47 +01:00
dj2ls 2470f5ed91 first auto updater 2022-02-22 16:08:56 +01:00
dj2ls 35bb004c9e v0.0.1-alpha
a first test with github build scripts and a possible auto updater for the app bundle. This feature is really needed to ensure the user always has the latest version of the gui. Specially in the first phase of releasing the app, there are a lot of changes. This makes the overall usability hopefully easier! Everyone who's getting github notifictaions: this might cause a lot of emails now. Sorry for this..
2022-02-22 11:06:22 +01:00
dj2ls 90ed365045 added first mac workflow
a first test...
2022-02-16 17:31:18 +01:00
dj2ls 54869bdecc added first mac workflow
a first test...
2022-02-16 17:17:15 +01:00
dj2ls 9d2adc3e88 added first mac workflow
a first test...
2022-02-16 16:58:19 +01:00
dj2ls 625afdb8b0 added first mac workflow
a first test...
2022-02-16 16:53:48 +01:00
dj2ls 244e20bd09 added first mac workflow
a first test...
2022-02-16 16:50:15 +01:00
dj2ls 7729ea447f added first mac workflow
a first test...
2022-02-16 16:47:01 +01:00
dj2ls 3c0e17af6b path fix and readme update 2022-02-16 09:26:25 +01:00
dj2ls 735ba231db reduced subfolder in release 2022-02-16 09:19:08 +01:00
dj2ls 30bbf75521 fixed unclean closing
closing application now by signals closes #133
2022-02-16 09:11:32 +01:00
dj2ls 5d26c3c198 split github action 2022-02-16 07:34:45 +01:00
dj2ls eefb70f343 updated app bundle to windows-unpacked 2022-02-15 21:10:01 +01:00
dj2ls 9d888c0548 updated app bundle to windows-unpacked 2022-02-15 20:48:41 +01:00
dj2ls 8296e67878 changed branch selection
its going to become a pain again...
2022-02-15 18:50:44 +01:00
dj2ls ee4944b356 changed windows build action
its going to become a pain again...
2022-02-15 18:45:36 +01:00
dj2ls 9a79dace7f changed windows build action
its going to become a pain again...
2022-02-15 18:35:03 +01:00
dj2ls 31c5451b14 changed windows build action 2022-02-15 18:28:30 +01:00
dj2ls d21532d0b5 busy detection & updated github action 2022-02-15 18:10:14 +01:00
dj2ls cc1c7e49b0 changed tnc path for electron builder 2022-01-16 18:35:12 +01:00
dj2ls 2157130f69 changed build action
tnc and daemon now in subdirectory which is not build as single application for easier debugging.
2022-01-16 17:57:31 +01:00
dj2ls a782315aa4 updated github action
once again....
2022-01-12 08:01:11 +01:00
dj2ls fd01dc49bd last attempt with pyinstaller
really frustrating....
2022-01-11 21:46:48 +01:00
dj2ls cc3ab70368 last attempt with pyinstaller
really frustrating....
2022-01-11 21:43:43 +01:00
dj2ls c2bbe1da45 last attempt with pyinstaller
really frustrating....
2022-01-11 21:41:15 +01:00
dj2ls 5f443b482a last attempt with pyinstaller
really frustrating....
2022-01-11 21:39:15 +01:00
dj2ls 37a0fccfdb last attempt with pyinstaller
really frustrating....
2022-01-11 21:35:34 +01:00
dj2ls 47db0ab7fd last attempt with pyinstaller
really frustrating....
2022-01-11 21:24:01 +01:00
dj2ls 420561a932 last attempt with pyinstaller
really frustrating....
2022-01-11 21:15:43 +01:00
dj2ls a91fb6e360 and another github action test... 2022-01-11 20:38:46 +01:00