Cmake tests: macro setmarkedtestlabel() worked only by chance

We have to check the content of the variable.
This commit is contained in:
Kornel Benko 2015-11-02 21:44:38 +01:00
parent d56980da95
commit 552ca45843

View File

@ -322,7 +322,7 @@ macro(settestlabel testname)
endmacro()
macro(setmarkedtestlabel testname reverted)
if(reverted)
if(${reverted})
settestlabel(${testname} "reverted" ${ARGN})
else()
settestlabel(${testname} ${ARGN})