ctests: adapt ignored warnings for lyx2lyx tests

This commit does the same as a8dd4db5 but for the explicit lyx2lyx
tests.

This commit amends ae31e169.
This commit is contained in:
Scott Kostyshak 2022-04-29 20:42:07 -04:00
parent a8dd4db54f
commit d54e400ee3

View File

@ -30,7 +30,7 @@ string(COMPARE NOTEQUAL ${_err} 0 _erg)
file(STRINGS ${errorfile} foundErrors)
if(foundErrors)
foreach(_l ${foundErrors})
if (NOT _l MATCHES "Warning: No conversion needed:")
if (NOT _l MATCHES "lyx2lyx warning: No conversion needed:")
set(_erg 1)
message(STATUS "${_l}")
endif()