Skip to content

Commit

Permalink
Update Lua test file count
Browse files Browse the repository at this point in the history
  • Loading branch information
vadi2 committed Sep 20, 2019
1 parent ed922b8 commit 0aaf768
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,10 @@ endif()

file(GLOB_RECURSE lua_test_files RELATIVE "${CMAKE_HOME_DIRECTORY}/src/mudlet-lua/tests/" "${CMAKE_HOME_DIRECTORY}/src/mudlet-lua/tests/*.lua")
list(LENGTH lua_test_files lua_test_file_count)
if(lua_test_file_count EQUAL 4)
if(lua_test_file_count EQUAL 5)
message(STATUS "Found Mudlet Lua test files")
else()
message(WARNING "Found ${lua_test_file_count} Mudlet Lua test files but 4 were expected:")
message(WARNING "Found ${lua_test_file_count} Mudlet Lua test files but 5 were expected:")
foreach(lua_test_file ${lua_test_files})
message(STATUS " ${lua_test_file}")
endforeach()
Expand Down

0 comments on commit 0aaf768

Please sign in to comment.