]> git.lyx.org Git - lyx.git/blobdiff - development/autotests/ExportTests.cmake
Move handling of LFUN_COPY to BufferView
[lyx.git] / development / autotests / ExportTests.cmake
index e8ab4f5af865466c1230804a6818372ae53d9c57..18b98fd6c57a6eefbccc7f7e8df0b15a78e7ee40 100644 (file)
@@ -159,7 +159,11 @@ macro(maketestname testname inverted listinverted listignored listunreliable lis
   endif()
   set(sublabel "${${listlabels}}")
   findexpr(mfound ${testname} ${listignoredx} sublabel)
-  if (NOT mfound)
+  if (mfound)
+    MATH(EXPR lyx_ignored_count "${lyx_ignored_count}+1")
+    # No testname because ignored
+    set(${testname} "")
+  else()
     set(sublabel2 "")
     findexpr(foundunreliable ${testname} ${listunreliablex} sublabel2)
     if (foundunreliable)
@@ -194,9 +198,6 @@ macro(maketestname testname inverted listinverted listignored listunreliable lis
       set(${testname} "${tmpprefix}${${testname}}")
       set(${listlabels} ${sublabel})
     endif()
-  else()
-    # No testname because ignored
-    set(${testname} "")
   endif()
 endmacro()