mirror of
https://github.com/D-Modem/app.git
synced 2026-11-28 17:38:05 -08:00
native-test: the engine and C API tests on GoogleTest
engine_test.cpp's five calls are now four GoogleTest tests, each with a dmodemd of its own, and c_api_test.c is c_api_test.cpp, seven tests (its header still compiled as C, c_api_header.c). ctest registers each test on its own (gtest_discover_tests). GoogleTest is the system's (libgtest-dev, added to the native job) or else fetched, v1.14.0 as D-Modem-RE has it. The USB line tests stay as they were. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRSgB6M9Vp9dEP1haEE
This commit is contained in:
7 files changed
+521
-359
No files matched your search
@@ -97,7 +97,7 @@ jobs:
|
||||
- name: Packages
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends cmake ninja-build g++ libssl-dev
|
||||
sudo apt-get install -y --no-install-recommends cmake ninja-build g++ libssl-dev libgtest-dev
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user