Permalink
Browse files

Properly unset tags variable.

  • Loading branch information...
Guillaume Egles authored and horenmar committed Jul 10, 2018
1 parent e21c6aa commit 76790604f523f7fb63741aca5fc7fc1cbc140763
Showing with 3 additions and 0 deletions.
  1. +3 −0 contrib/ParseAndAddCatchTests.cmake
@@ -143,6 +143,9 @@ function(ParseFile SourceFile TestTarget)
endif()
string(REPLACE "]" ";" Tags "${Tags}")
string(REPLACE "[" "" Tags "${Tags}")
else()
# unset tags variable from previous loop
unset(Tags)
endif()
list(APPEND Labels ${Tags})

0 comments on commit 7679060

Please sign in to comment.