From 403f652c6226e0ab67d26c43376511d5fe053375 Mon Sep 17 00:00:00 2001 From: Jeroen Van Halderen Date: Tue, 9 May 2023 15:06:52 +0200 Subject: [PATCH 1/2] fixed some typos again --- CMakeLists.txt | 4 ++-- tests/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d9500d..eaa167a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -147,8 +147,8 @@ endif() # Testing # ----------------------------------------------------------------------------- -# Only build tests if we are the main project or explicitly told to this make sure -# tests are not built when mlx42 included as a subproject, use MLX42_BUILD_TESTS to overwrite this +# Only build tests if we are the main project or explicitly told to, make sure +# tests are not built when mlx42 is included as a subproject, use MLX42_BUILD_TESTS to overwrite this # use cmake -DBUILD_TESTS=ON/-DMLX42_BUILD_TESTS=ON to build tests if ((PROJECT_NAME STREQUAL CMAKE_PROJECT_NAME AND BUILD_TESTS) OR MLX42_BUILD_TESTS) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index d6d066a..9a7baf9 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -34,7 +34,7 @@ target_link_libraries( set_property(TARGET ${TEST_EXECUTABLE_NAME} PROPERTY CXX_STANDARD 14) # Add tests to CTest -# Set working directory to the the testing folder so that the test can find their test files +# Set working directory to the testing folder so that the test can find their test files # ----------------------------------------------------------------------------- gtest_discover_tests(${TEST_EXECUTABLE_NAME} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} TEST_PREFIX "MLX42.") enable_testing() From a08e50de1c75f8032262895fa0b06c95f333ce42 Mon Sep 17 00:00:00 2001 From: Jeroen Van Halderen Date: Tue, 9 May 2023 15:09:30 +0200 Subject: [PATCH 2/2] forgot to git add a file --- tests/tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests.cpp b/tests/tests.cpp index cdca6f7..23408d0 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -21,7 +21,7 @@ TEST_F(Window, Basic) } -// NOTE: This test cannot be runned with a fixture because the settings need to be set before the window is created +// NOTE: This test cannot be run with a fixture because the settings need to be set before the window is created TEST(MWindow, Settings) { mlx_errno = MLX_SUCCESS;