Skip to content

Commit

Permalink
Add help-test
Browse files Browse the repository at this point in the history
  • Loading branch information
kkarbowiak committed Feb 4, 2025
1 parent c1612ac commit 2c48b9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/manual/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ target_compile_options(app PRIVATE
/W4 /WX /permissive->)
target_link_libraries(app PRIVATE cpp-argparse)

add_test(NAME help-test COMMAND app --help)

add_test(NAME version-test COMMAND app --version)
set_property(TEST version-test PROPERTY PASS_REGULAR_EXPRESSION "1\.0\.0")

Expand Down

0 comments on commit 2c48b9f

Please sign in to comment.