Skip to content

Commit

Permalink
Add some comments and remove unneeded variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Oct 31, 2023
1 parent 3d76ae7 commit 62eb6c7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/k4FWCoreTest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ function(set_test_env testname)
endfunction()

function(add_test_with_env testname)
set(TEST_PROPERTIES "")
set(TEST_ARGUMENTS "")

foreach(arg ${ARGN})
if(arg STREQUAL "PROPERTIES")
set(TEST_PROPERTIES_FOUND TRUE)
else()
# For tests that depend on multiple tests and the original cmake way is to
# add a colon between them this should make it work
string(REPLACE ";" "\\\\;" arg ${arg})
if(TEST_PROPERTIES_FOUND)
list(APPEND TEST_PROPERTIES ${arg})
Expand Down

0 comments on commit 62eb6c7

Please sign in to comment.