mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Cmake tests: Add visual indication if a test is ignoring some latex error messages
This commit is contained in:
parent
1de8ab6ed5
commit
ef05496ce9
@ -419,11 +419,15 @@ foreach(libsubfolderx autotests/export lib/doc lib/examples lib/templates autote
|
||||
else()
|
||||
set(TestName "export/${libsubfolder}/${f}${_enc}_${format}_${fonttype}")
|
||||
endif()
|
||||
set(mytestlabel ${testlabel})
|
||||
maketestname(TestName inverted invertedTests ignoredTests unreliableTests mytestlabel)
|
||||
if(TestName)
|
||||
set(missingLabels )
|
||||
findexpr(mfound TestName ignoreLatexErrorsTests missingLabels)
|
||||
if (mfound)
|
||||
set(mytestlabel ${testlabel} "ignoring" ${missingLabels})
|
||||
else()
|
||||
set(mytestlabel ${testlabel})
|
||||
endif()
|
||||
maketestname(TestName inverted invertedTests ignoredTests unreliableTests mytestlabel)
|
||||
if(TestName)
|
||||
add_test(NAME ${TestName}
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${LYX_HOME}"
|
||||
COMMAND ${CMAKE_COMMAND} -DLYX_ROOT=${LIBSUB_SRC_DIR}
|
||||
|
Loading…
Reference in New Issue
Block a user