Skip to content

Commit

Permalink
Now, test is foundable from ctest.
Browse files Browse the repository at this point in the history
  • Loading branch information
suikan4github committed Oct 25, 2024
1 parent e3ec51e commit 8ab3339
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ if( ${FOUNDPOS} LESS "0") # If yes, it is Windows or Linux
message(STATUS "Target is Windows or Linux")

# Unit test.
enable_testing()
add_subdirectory("test")

endif() # string(FIND CMAKE_CXX_COMPILER "arm-none-eabi") GREATER_EQUAL 0
Expand Down
3 changes: 1 addition & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#----------------------------------------------------------------------------
# Do not edit lines below


# GCOV settings
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage")
Expand Down

0 comments on commit 8ab3339

Please sign in to comment.