mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Cmake export tests: Initalize the output variable 'inverted' in macro 'matetestname()'
It could happen that the variable was set in creating a previous test-case. Some combinations in the controlling files (suspiciousTests, unrelibleTests, ...) did not set this variable.
This commit is contained in:
parent
98883304e2
commit
8e267a7315
@ -114,6 +114,8 @@ function(join rvalues glue routput)
|
||||
endfunction()
|
||||
|
||||
macro(maketestname testname inverted listsuspicious 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})
|
||||
|
Loading…
Reference in New Issue
Block a user