mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Cmake export tests: Correct some quirks
1.) Label lyx2lyx was handled wrong (removed '2') 2.) tests were named '_lyx2lyx' instead of only 'lyx2lyx'
This commit is contained in:
parent
8876ad1035
commit
4e9fe808d7
@ -161,7 +161,11 @@ macro(maketestname testname inverted listsuspicious listignored listunreliable l
|
||||
list(REMOVE_DUPLICATES sublabel)
|
||||
if (NOT sublabel STREQUAL "")
|
||||
join(sublabel "." tmpprefixx)
|
||||
string(TOUPPER "${tmpprefixx}_" tmpprefix)
|
||||
if (tmpprefixx)
|
||||
string(TOUPPER "${tmpprefixx}_" tmpprefix)
|
||||
else()
|
||||
set(tmpprefix "")
|
||||
endif()
|
||||
set(${testname} "${tmpprefix}${${testname}}")
|
||||
set(${listlabels} ${sublabel})
|
||||
endif()
|
||||
|
@ -329,7 +329,7 @@ macro(sortlabellist listout)
|
||||
list(APPEND tmplist "${depth_${_lab}}${_lab}")
|
||||
endforeach()
|
||||
list(SORT tmplist)
|
||||
string(REGEX REPLACE "[0-9]+" "" ${listout} "${tmplist}")
|
||||
string(REGEX REPLACE ";[0-9]+" ";" ${listout} ";${tmplist}")
|
||||
endmacro()
|
||||
|
||||
macro(createlabel reslabel first)
|
||||
|
Loading…
Reference in New Issue
Block a user