Skip to content

Commit

Permalink
Skip dash tests on MSYS2
Browse files Browse the repository at this point in the history
  • Loading branch information
daljit46 committed Aug 2, 2024
1 parent 032fb56 commit a6ab4e1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions testing/unit_tests/cpp_cli
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,13 @@ testing_cpp_cli -bool 2
! testing_cpp_cli -2244223

# Test handling of various dash-like characters
testing_cpp_cli —bool false # Em dash
testing_cpp_cli –bool false # En dash
testing_cpp_cli -bool false # Hyphen
# Skip the dash tests on MSYS2 as they don't seem to be correctly parsed by CTest
# TODO: try to find whether there is a solution to this
if ![[ -z "${MSYSTEM}" ]]; then
testing_cpp_cli —bool false # Em dash
testing_cpp_cli –bool false # En dash
testing_cpp_cli -bool false # Hyphen
fi

# Test interfaces relating to filesystem paths:
# - Make sure that command fails if expected input is not present
Expand Down

0 comments on commit a6ab4e1

Please sign in to comment.