1.) Label lyx2lyx was handled wrong (removed '2')
2.) tests were named '_lyx2lyx' instead of only 'lyx2lyx'
list(REMOVE_DUPLICATES sublabel)
if (NOT sublabel STREQUAL "")
join(sublabel "." tmpprefixx)
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()
set(${testname} "${tmpprefix}${${testname}}")
set(${listlabels} ${sublabel})
endif()
list(APPEND tmplist "${depth_${_lab}}${_lab}")
endforeach()
list(SORT tmplist)
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)
endmacro()
macro(createlabel reslabel first)