]> git.lyx.org Git - features.git/commitdiff
Amend 31ad4d6e: DocBook: move tests to inverted instead of ignored.
authorKornel Benko <kornel@lyx.org>
Sat, 17 Oct 2020 10:58:30 +0000 (12:58 +0200)
committerKornel Benko <kornel@lyx.org>
Sat, 17 Oct 2020 10:58:30 +0000 (12:58 +0200)
Allow inverted tests without explicit language setting in testname

development/autotests/ExportTests.cmake
development/autotests/invertedTests

index 26a1267f9e4ded13ca888fb991ec0c314c0fe24d..e8ab4f5af865466c1230804a6818372ae53d9c57 100644 (file)
@@ -169,11 +169,7 @@ macro(maketestname testname inverted listinverted listignored listunreliable lis
     string(REGEX MATCH "(^check_load|_(systemF|texF|pdf3|pdf2|pdf|dvi|lyx[0-9][0-9]|xhtml)$)" _v ${${testname}})
     # check if test _may_ be in listinverted
     set(sublabel2 "")
-    if (_v)
-      findexpr(mfound ${testname} ${listinvertedx} sublabel2)
-    else()
-      set(mfound OFF)
-    endif()
+    findexpr(mfound ${testname} ${listinvertedx} sublabel2)
     if (mfound)
       set(sublabel3 "")
       findexpr(foundsuspended ${testname} ${listsuspendedx} sublabel3)
index 579fd0cebeb190c6a31b5d06dc361e24113da61b..c44e62ebba779f45e99953d86a1e2e65ba0c911d 100644 (file)
@@ -385,11 +385,7 @@ export/doc/ru/Math_(dvi3|pdf[45])_systemF
 # ================================================
 # DocBook
 
-# not expected to successful compile
-check_load/export/docbook/.*
-lyx2lyx/export/docbook/.*
-export/export/docbook/.*(lyx..|dvi.*|pdf.*)
-
+Sublabel: docbook
 # Posters cannot be properly exported, the LyX documents are too far from
 # DocBook expectations (but should have XML-valid output).
 export/export/docbook/A0_Poster_Simple_docbook5
@@ -397,11 +393,13 @@ export/export/docbook/SciPoster_docbook5
 export/examples/Posters/Beamerposter_docbook5
 export/templates/Posters/.*_docbook5
 
+Sublabel: docbook implementation
 # Beamer is not yet implemented.
 export/examples/Presentations/.*_docbook5
 export/templates/.*/Presentations/Beamer_docbook5
 export/templates/Presentations/.*_docbook5
 
+Sublabel: docbook chapter
 # Specific things that are not expected to work.
 # - Uses a book class, but has no chapters (forbidden in DocBook).
 export/export/MissingEndLayoutBetweenTables_docbook5