Commit Graph

7 Commits

Author SHA1 Message Date
Eric Wasylishen 04604b18cd
tests: replace doctest with googletest (#431)
* tests: replace doctest with googletest

- googletest command-line output lists a nice summary of failed tests at the end, doctest's doesn't
- string test case names in doctest make IDE file structure view useless
- googletest has VS support
- doctest development stalled

other changes:
- get rid of doctest::skip(), all tests run now.
(was only applied to 3 tests: "winding", "mountain", "base1")

* check for test failure

* Revert "check for test failure"

This reverts commit a71d020c5a.

* fix test names to comply with gtest rules
2024-06-23 21:31:02 -06:00
Eric Wasylishen aa3b8479b4 qbsp: shrink node_t from 280 to 208 bytes
- contentflags_t from 80 to 8 bytes
2024-03-09 19:37:23 -07:00
Eric Wasylishen 3a80e5ad1a tests: add -verbose flag 2024-02-11 16:38:57 -07:00
Eric Wasylishen c5efefd4b7 tests: allow disabling threading when debugging tests
with `-threads 1`
2023-02-25 23:50:35 -07:00
Eric Wasylishen eda6155844 cleanup: run ./clang-format-all.sh
clang-format version 15.0.7
2023-02-18 22:59:43 -07:00
Eric Wasylishen 9ab4ea8176 Move SetConsoleMode() call to logging::preinitialize(); helper
Don't do ENABLE_VIRTUAL_TERMINAL_INPUT as it breaks arrow key history
navigation in Windows Terminal after running one of the ericw-tools exe's.
2022-11-19 10:05:14 -07:00
Eric Wasylishen c84f5898df tests: doctest 2022-10-21 18:33:19 -06:00