kicad/thirdparty/argparse/test
Alex Shvartzkop 27e4b2276b Update argparse.
Otherwise .choices doesn't work properly.
See https://github.com/p-ranav/argparse/issues/307

(cherry picked from commit 991b4299d6)
2024-03-03 21:47:23 +03:00
..
.gitignore
CMakeLists.txt
README.md
argparse_details.cppm
doctest.hpp
main.cpp
test_actions.cpp
test_append.cpp
test_as_container.cpp
test_bool_operator.cpp
test_choices.cpp Update argparse. 2024-03-03 21:47:23 +03:00
test_compound_arguments.cpp
test_container_arguments.cpp
test_default_args.cpp
test_default_value.cpp
test_equals_form.cpp
test_error_reporting.cpp
test_get.cpp
test_help.cpp
test_invalid_arguments.cpp
test_is_used.cpp
test_issue_37.cpp
test_mutually_exclusive_group.cpp
test_negative_numbers.cpp
test_optional_arguments.cpp
test_parent_parsers.cpp
test_parse_args.cpp
test_parse_known_args.cpp
test_positional_arguments.cpp
test_prefix_chars.cpp
test_repr.cpp
test_required_arguments.cpp
test_scan.cpp
test_stringstream.cpp
test_subparsers.cpp
test_utility.hpp
test_version.cpp

README.md

Argparse Tests

Linux

$ mkdir build
$ cd build
$ cmake ../.
$ make
$ ./tests

Windows

  1. Generate Visual Studio solution
$ mkdir build
$ cd build
$ cmake ../. -G "Visual Studio 15 2017"
  1. Open ARGPARSE.sln
  2. Build tests in RELEASE | x64
  3. Run tests.exe