2026-05-25 17:51:53 -05:00
|
|
|
Host-side gtest unit tests for crosspoint-reader.
|
2025-12-03 22:00:29 +11:00
|
|
|
|
2026-05-25 17:51:53 -05:00
|
|
|
Build and run:
|
2025-12-03 22:00:29 +11:00
|
|
|
|
2026-05-25 17:51:53 -05:00
|
|
|
cmake -S test -B build/test
|
|
|
|
|
cmake --build build/test
|
|
|
|
|
ctest --test-dir build/test --output-on-failure -j
|
2025-12-03 22:00:29 +11:00
|
|
|
|
2026-05-25 17:51:53 -05:00
|
|
|
Run a single suite directly:
|
|
|
|
|
|
|
|
|
|
cmake --build build/test --target StreamingJsonParserTest
|
|
|
|
|
build/test/streaming_json_parser/StreamingJsonParserTest --gtest_filter='*'
|
|
|
|
|
|
|
|
|
|
Google Test is fetched via CMake FetchContent on first configure; the pinned
|
|
|
|
|
version lives in test/CMakeLists.txt.
|