Commit graph

9 commits

Author SHA1 Message Date
Ryan Turner
d45aa492c5 test: unit: adopt Catch2 in existing passing tests
Port all currently-enabled unit tests to Catch2: replace the custom
main() / printf error-reporting boilerplate with TEST_CASE and REQUIRE
macros. Add catch2_dep to unit_test_opts now that it is actually used.

Tests ported: M17_callsign, M17_golay, M17_rrc, M17_viterbi, cps,
convert_minmea_coord, linux_inputStream. The M17 demodulator test is
still in its pre-Catch2 form and remains disabled, as it needs
significant rework (not just porting to Catch2).

Co-authored-by: GitHub Copilot <copilot@github.com>
Signed-off-by: Ryan Turner <ryan@turnrye.com>
2026-03-04 08:10:40 +01:00
Ryan Turner
b0493aedae test: format all unit tests
Signed-off-by: Ryan Turner <ryan@turnrye.com
2026-03-04 08:10:40 +01:00
Ryan Turner
95fdcd5fe2 copyright-and-license: adopt SPDX-compliant header
This change removes the old copyright header from project sources and
replaces it with a new simplified SPDX-compliant header. Note that files
that were missing the header but reasonably understood to be licensed
according to the root license were not corrected.

Signed-off-by: Ryan Turner <ryan@turnrye.com>
2026-01-14 20:10:07 +01:00
Ryan Turner
00a4dbb063 style: resolve ambiguous paths on include macros
Update meson and cmake config to only include openrtx and platform paths.
Update files to use <..> for system and external libraries, ".." for
project files and new relative paths as necessary.

Did not attempt to fix areas where includes that should be <..> were
previously ".."

Inspired by #96, closes #359.

Acked-by: Silvano Seva <silseva@fastwebnet.it>
2025-09-28 17:27:45 +02:00
Silvano Seva
03d1ae5546 Updated year in copyright headers 2025-04-04 21:15:39 +02:00
Silvano Seva
1011dd1081 Moved audio_stream.h from interfaces to core headers 2023-08-30 18:04:24 +02:00
Silvano Seva
a89a7523cb Updated year in copyright headers 2023-02-08 16:33:02 +01:00
Alain Carlucci
07394cc8a0 Linux input stream driver: bugfixes and completed test 2022-07-10 11:00:49 +02:00
Alain Carlucci
1d48e5e3e0 Implementation of linux input stream driver 2022-07-10 10:59:45 +02:00