From ef1e00ff89412331661ee098dc436535993e26e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20W=C3=B6lzer?= <martin@libclapp.org> Date: Mon, 16 Sep 2024 20:52:18 +0200 Subject: [PATCH] examples/test_*.sh: renamed to examples/test_*.bats --- examples/CMakeLists.txt | 16 ++++++++-------- ...er_example.sh => test_container_example.bats} | 0 ..._large_example.sh => test_large_example.bats} | 0 ..._short_example.sh => test_short_example.bats} | 0 ...r_example.sh => test_sub_parser_example.bats} | 0 5 files changed, 8 insertions(+), 8 deletions(-) rename examples/{test_container_example.sh => test_container_example.bats} (100%) rename examples/{test_large_example.sh => test_large_example.bats} (100%) rename examples/{test_short_example.sh => test_short_example.bats} (100%) rename examples/{test_sub_parser_example.sh => test_sub_parser_example.bats} (100%) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 1f635daa..5864105b 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -4,8 +4,8 @@ if(libClaPP_CLANG_TIDY_ARGS_EXAMPLES) set_target_properties(libclapp_example_large PROPERTIES CXX_CLANG_TIDY "${libClaPP_CLANG_TIDY_ARGS_EXAMPLES}") endif() install(TARGETS libclapp_example_large DESTINATION ${CMAKE_INSTALL_BINDIR}) -configure_file(test_large_example.sh test_large_example.sh COPYONLY) -add_test(NAME large_example_tests COMMAND test_large_example.sh WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) +configure_file(test_large_example.bats test_large_example.bats COPYONLY) +add_test(NAME large_example_tests COMMAND test_large_example.bats WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) add_executable(libclapp_example_short short_example.cpp) target_link_libraries(libclapp_example_short libClaPP::clapp libClaPP_CXX_COMPILE_OPTIONS) @@ -13,8 +13,8 @@ if(libClaPP_CLANG_TIDY_ARGS_EXAMPLES) set_target_properties(libclapp_example_short PROPERTIES CXX_CLANG_TIDY "${libClaPP_CLANG_TIDY_ARGS_EXAMPLES}") endif() install(TARGETS libclapp_example_short DESTINATION ${CMAKE_INSTALL_BINDIR}) -configure_file(test_short_example.sh test_short_example.sh COPYONLY) -add_test(NAME short_example_tests COMMAND test_short_example.sh WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) +configure_file(test_short_example.bats test_short_example.bats COPYONLY) +add_test(NAME short_example_tests COMMAND test_short_example.bats WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) add_executable(libclapp_example_sub_parser sub_parser_example.cpp) target_link_libraries(libclapp_example_sub_parser libClaPP::clapp libClaPP_CXX_COMPILE_OPTIONS) @@ -22,8 +22,8 @@ if(libClaPP_CLANG_TIDY_ARGS_EXAMPLES) set_target_properties(libclapp_example_sub_parser PROPERTIES CXX_CLANG_TIDY "${libClaPP_CLANG_TIDY_ARGS_EXAMPLES}") endif() install(TARGETS libclapp_example_sub_parser DESTINATION ${CMAKE_INSTALL_BINDIR}) -configure_file(test_sub_parser_example.sh test_sub_parser_example.sh COPYONLY) -add_test(NAME sub_parser_example_tests COMMAND test_sub_parser_example.sh WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) +configure_file(test_sub_parser_example.bats test_sub_parser_example.bats COPYONLY) +add_test(NAME sub_parser_example_tests COMMAND test_sub_parser_example.bats WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) add_executable(libclapp_example_container container_example.cpp) target_link_libraries(libclapp_example_container libClaPP::clapp libClaPP_CXX_COMPILE_OPTIONS) @@ -31,5 +31,5 @@ if(libClaPP_CLANG_TIDY_ARGS_EXAMPLES) set_target_properties(libclapp_example_container PROPERTIES CXX_CLANG_TIDY "${libClaPP_CLANG_TIDY_ARGS_EXAMPLES}") endif() install(TARGETS libclapp_example_container DESTINATION ${CMAKE_INSTALL_BINDIR}) -configure_file(test_container_example.sh test_container_example.sh COPYONLY) -add_test(NAME container_example_tests COMMAND test_container_example.sh WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) +configure_file(test_container_example.bats test_container_example.bats COPYONLY) +add_test(NAME container_example_tests COMMAND test_container_example.bats WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) diff --git a/examples/test_container_example.sh b/examples/test_container_example.bats similarity index 100% rename from examples/test_container_example.sh rename to examples/test_container_example.bats diff --git a/examples/test_large_example.sh b/examples/test_large_example.bats similarity index 100% rename from examples/test_large_example.sh rename to examples/test_large_example.bats diff --git a/examples/test_short_example.sh b/examples/test_short_example.bats similarity index 100% rename from examples/test_short_example.sh rename to examples/test_short_example.bats diff --git a/examples/test_sub_parser_example.sh b/examples/test_sub_parser_example.bats similarity index 100% rename from examples/test_sub_parser_example.sh rename to examples/test_sub_parser_example.bats -- GitLab