[LyX/master] ctests: adapt ignored warnings for lyx2lyx tests

Scott Kostyshak skostysh at lyx.org
Sat Apr 30 00:06:13 UTC 2022


commit d54e400ee38d94fab5434a18984a7c23e9530438
Author: Scott Kostyshak <skostysh at lyx.org>
Date:   Fri Apr 29 20:42:07 2022 -0400

    ctests: adapt ignored warnings for lyx2lyx tests
    
    This commit does the same as a8dd4db5 but for the explicit lyx2lyx
    tests.
    
    This commit amends ae31e169.
---
 development/autotests/lyx2lyxtest.cmake |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/development/autotests/lyx2lyxtest.cmake b/development/autotests/lyx2lyxtest.cmake
index 708cd50..4b01ecb 100755
--- a/development/autotests/lyx2lyxtest.cmake
+++ b/development/autotests/lyx2lyxtest.cmake
@@ -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()


More information about the lyx-cvs mailing list