Cmake export tests: Remove label 'reverted' from suspended tests.

LyXMacros.cmake: Overseen the macro 'setmarkedtestlabel()' which added it automatically
  if the test was to invert the test result.
ExportTests.cmake: Correct label handling
This commit is contained in:
Kornel Benko 2015-12-02 13:28:16 +01:00
parent d879599cec
commit e39025797e
2 changed files with 3 additions and 7 deletions

View File

@ -139,8 +139,8 @@ macro(maketestname testname reverted listsuspicious listignored listunreliable l
findexpr(foundsuspended ${testname} ${listsuspendedx} sublabel3)
set(${reverted} 1)
if (foundsuspended)
set(sublabel "reverted" "suspended" ${sublabel} ${sublabel2} ${sublabel3})
list(REMOVE_ITEM sublabel "export")
set(sublabel "suspended" ${sublabel} ${sublabel2} ${sublabel3})
list(REMOVE_ITEM sublabel "export" "reverted" )
else()
set(sublabel "reverted" ${sublabel} ${sublabel2} ${sublabel3})
endif()

View File

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