mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 06:15:16 +00:00
ctests: rename pattern file "suspiciousTests" to "invertedTests". part 2
This commit is contained in:
parent
3294b16bf6
commit
d7d23934bc
@ -123,18 +123,18 @@ function(join rvalues glue routput)
|
||||
set(${routput} ${out} PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
macro(maketestname testname inverted listsuspicious listignored listunreliable listlabels)
|
||||
macro(maketestname testname inverted listinverted listignored listunreliable listlabels)
|
||||
# initialize output variable
|
||||
set(${inverted} 0)
|
||||
string(REGEX MATCH "\\/[a-z][a-z](_[A-Z][A-Z])?\\/" _v ${${testname}})
|
||||
if(_v)
|
||||
string(REGEX REPLACE "\\/" "" _v ${_v})
|
||||
set(listsuspiciousx ${listsuspicious}_${_v})
|
||||
set(listinvertedx ${listinverted}_${_v})
|
||||
set(listignoredx ${listignored}_${_v})
|
||||
set(listunreliablex ${listunreliable}_${_v})
|
||||
set(listsuspendedx suspendedTests_${_v})
|
||||
else()
|
||||
set(listsuspiciousx ${listsuspicious})
|
||||
set(listinvertedx ${listinverted})
|
||||
set(listignoredx ${listignored})
|
||||
set(listunreliablex ${listunreliable})
|
||||
set(listsuspendedx suspendedTests)
|
||||
@ -149,10 +149,10 @@ macro(maketestname testname inverted listsuspicious listignored listunreliable l
|
||||
list(REMOVE_ITEM sublabel "export" "inverted" "templates" "mathmacros" "manuals" "autotests")
|
||||
else()
|
||||
string(REGEX MATCH "(^check_load|_(systemF|texF|pdf3|pdf2|pdf|dvi|lyx[0-9][0-9]|xhtml)$)" _v ${${testname}})
|
||||
# check if test _may_ be in listsuspicious
|
||||
# check if test _may_ be in listinverted
|
||||
set(sublabel2 "")
|
||||
if (_v)
|
||||
findexpr(mfound ${testname} ${listsuspiciousx} sublabel2)
|
||||
findexpr(mfound ${testname} ${listinvertedx} sublabel2)
|
||||
else()
|
||||
set(mfound OFF)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user