Cmake lyx2lyx tests: Ignore warning about "no conversion needed"

This commit is contained in:
Kornel Benko 2015-11-29 15:26:56 +01:00
parent 750dc8490f
commit 2b9a9d97a6

View File

@ -29,9 +29,11 @@ string(COMPARE NOTEQUAL ${_err} 0 _erg)
# Check file "errors" being empty
file(STRINGS ${errorfile} foundErrors)
if(foundErrors)
set(_erg 1)
foreach(_l ${foundErrors})
message(STATUS "${_l}")
if (NOT _l MATCHES "Warning: No conversion needed:")
set(_erg 1)
message(STATUS "${_l}")
endif()
endforeach()
endif()