[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-cvs
Subject:    [LyX/master] ctest update
From:       Günter Milde <milde () lyx ! org>
Date:       2019-02-26 18:11:06
Message-ID: 20190226181106.F1C222801A5 () lyx ! lyx ! org
[Download RAW message or body]

commit 6ee140f413ed22281ba13462a78fc873082b9acb
Author: Günter Milde <milde@lyx.org>
Date:   Tue Feb 26 19:13:15 2019 +0100

    ctest update
    
    * Do not change font choices when testing with non-TeX fonts.
    * Add "nonstandard" tag for documents with requirements outside TeXLive.
    * Ignore missing character in legacy Basque document.
---
 development/autotests/ignoreLatexErrorsTests |    4 ++
 development/autotests/unreliableTests        |   46 +++++++++++++++++++++++++-
 development/autotests/useSystemFonts.pl      |   17 ++++-----
 3 files changed, 57 insertions(+), 10 deletions(-)

diff --git a/development/autotests/ignoreLatexErrorsTests \
b/development/autotests/ignoreLatexErrorsTests index 6cb1947..802b147 100644
--- a/development/autotests/ignoreLatexErrorsTests
+++ b/development/autotests/ignoreLatexErrorsTests
@@ -6,6 +6,10 @@ export/doc/(|de/|es/|fr/)UserGuide_(dvi3|pdf4|pdf5)_systemF
 # (works with non-tex-fonts).
 export/examples/minted-filelisting_pdf4_texF
 
+# Legacy Basque document: accented character "ȧ" missing in LatinModern
+# (setting of custom TeX- and non-TeX font not possible at the same time).
+export/doc/attic/eu_Customization.*systemF
+
 # started failing after a TL 2016 update
 # for discussion on whether a bug should be reported or LyX output should be \
changed, see:  # https://www.mail-archive.com/search?l=mid&q=20170225203955.nas2qopy4l4ukyqq%40steph
                
diff --git a/development/autotests/unreliableTests \
b/development/autotests/unreliableTests index d188f39..1fd2190 100644
--- a/development/autotests/unreliableTests
+++ b/development/autotests/unreliableTests
@@ -39,6 +39,51 @@ export/templates/IUCr-article_pdf4_systemF
 # see http://wiki.lyx.org/Examples/AcmSiggraph
 export/templates/obsolete/ACM-siggraph/ACM-siggraph_(dvi|pdf).*
 
+# R (http://www.r-project.org) 
+export/examples/sweave.*
+# R package knitr (http://yihui.name/knitr)
+export/examples/knitr.*
+
+# LilyPond-book version 2.13 or newer.
+export/examples/lilypond.*
+
+# svmono.cls
+export/examples/springer/svmono.*
+# svmult.cls
+export/examples/springer/svmult.*
+
+# AEA.cls (see https://wiki.lyx.org/Examples/AEA)
+export/templates/AEA.*
+
+# ws-ijmpc.cls, w-ijmpd.cls (see https://wiki.lyx.org/Examples/IJMP)
+export/templates/IJMPC.*
+export/templates/IJMPD.*
+
+# iopart.cls, iopams.sty, setstack.sty (see https://wiki.lyx.org/Layouts/Iopart)
+export/templates/IOP-article.*
+
+# jasatex.cls (see https://wiki.lyx.org/Layouts/JASATeX)
+export/templates/JASA.*
+
+# ectaart.cls (see https://wiki.lyx.org/Examples/Econometrica)
+export/templates/ectaart.*
+
+# maa-monthly.sty (not in TeXLive)
+# http://www.maa.org/sites/default/files/pdf/pubs/maa-monthly.sty
+export/templates/maa-monthly.*
+
+# svjour3.cls, svglov2.clo (see https://wiki.lyx.org/Examples/Springer)
+export/templates/springer/svjour3.*
+
+
+Sublabel: needauth
+##################
+# Tests that require authorisation to call external programs.
+export/examples/gnuplot.*
+export/examples/minted-filelisting.*
+export/examples/minted-listings.*
+
+
 Sublabel: erratic
 #################
 # Tests depending on local configuration, or the phase of the moon.
@@ -51,7 +96,6 @@ export/doc/es/(Customization|Intro)_pdf4_texF
 export/doc/uk/Intro_pdf4_texF
 
 
-
 Sublabel: varying_versions
 ##########################
 # Test depending on e.g. OS or version of a non-TeX-Live dependency.
diff --git a/development/autotests/useSystemFonts.pl \
b/development/autotests/useSystemFonts.pl index 3ab42ab..cc40993 100644
--- a/development/autotests/useSystemFonts.pl
+++ b/development/autotests/useSystemFonts.pl
@@ -7,7 +7,6 @@
 #   2a.) searches for relative references to files and
 #        replaces them with absolute ones
 #   2b.) Changes default fonts to use non-tex-fonts
-#   2c.) Changes the non-tex fonts setting if it is "default".
 #
 # Syntax: perl useSystemFonts.pl sourceFile destFile format
 # Each param represents a path to a file
@@ -86,14 +85,14 @@ if ($source =~ /\/([a-z][a-z](_[A-Z][A-Z])?)[\/_]/) {
 
 my $inputEncoding = undef;
 if ($fontT eq "systemF") {
-  if ($lang =~ /^(ar|ca|cs|da|de|el|es|eu|fa|fr|gl|he|hu|id|it|ko|nb|nl|pl|pt|ro|ru|se|sk|sl|sr|sv|uk)$/) \
                {
-  }
-  else {
-    # default system fonts
-    $font{roman} = "FreeSerif";
-    $font{sans} = "FreeSans";
-    $font{typewriter} = "FreeMono";
-  }
+  # if ($lang =~ /^(ar|ca|cs|da|de|el|es|eu|fa|fr|gl|he|hu|id|it|ko|nb|nl|pl|pt|ro|ru|se|sk|sl|sr|sv|uk)$/) \
{ +  # }
+  # else {
+  #   # default system fonts
+  #   $font{roman} = "FreeSerif";
+  #   $font{sans} = "FreeSans";
+  #   $font{typewriter} = "FreeMono";
+  # }
 }
 elsif ($encodingT ne "default") {
   # set input encoding to the requested value


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic