mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
d879599cec
commit
e39025797e
@ -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()
|
||||
|
@ -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()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user