1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 19:42:48 -05:00

Run test_lineedit and test_terminal in the main build.

These seem likely to carry on being useful, so let's make sure they
pass before allowing any build to complete successfully. I've added
code to both test programs to return a sensible exit status indicating
pass/fail, and added runs of both to Buildscr.
This commit is contained in:
Simon Tatham
2023-03-05 10:21:16 +00:00
parent ed5bf9b3b8
commit 259de04636
3 changed files with 29 additions and 2 deletions

View File

@ -140,6 +140,8 @@ delegate -
in putty do cmake . -DCMAKE_C_COMPILER=clang -DCMAKE_C_FLAGS="-fsanitize=address -fsanitize=leak" -DSTRICT=ON
in putty do make -j$(nproc) VERBOSE=1
in putty do python3 test/cryptsuite.py
in putty do ./test_lineedit
in putty do ./test_terminal
enddelegate
delegate -