mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Add the first dedicated export test
Thanks to Kornel we do now have the infrastructure for running dedicated export tests. This is the first one, showing a language nesting bug which is already in 2.1. It is inverted for now, but this will hopefully change soon.
This commit is contained in:
parent
df22dfdf6b
commit
fe5f88ddf9
@ -5,7 +5,7 @@ ACLOCAL_AMFLAGS = -I m4 -I config
|
||||
MAINTAINERCLEANFILES += $(srcdir)/aclocal.m4 $(srcdir)/configure \
|
||||
$(srcdir)/config.h.in
|
||||
|
||||
DIST_SUBDIRS = m4 config development po boost src sourcedoc lib
|
||||
DIST_SUBDIRS = autotests m4 config development po boost src sourcedoc lib
|
||||
|
||||
if BUILD_CLIENT_SUBDIR
|
||||
CLIENT = src/client
|
||||
@ -15,7 +15,7 @@ if USE_INCLUDED_BOOST
|
||||
BOOST = boost
|
||||
endif
|
||||
|
||||
SUBDIRS = config development po $(BOOST) src sourcedoc lib \
|
||||
SUBDIRS = autotests config development po $(BOOST) src sourcedoc lib \
|
||||
$(CLIENT) src/tex2lyx
|
||||
|
||||
|
||||
|
10
autotests/Makefile.am
Normal file
10
autotests/Makefile.am
Normal file
@ -0,0 +1,10 @@
|
||||
include $(top_srcdir)/config/common.am
|
||||
|
||||
EXTRA_DIST = $(TEST_FILES)
|
||||
|
||||
TEST_FILES = \
|
||||
export/languagenesting1.lyx
|
||||
|
||||
alltests: check alltests-recursive
|
||||
|
||||
.PHONY: alltests alltests-recursive
|
144
autotests/export/languagenesting1.lyx
Normal file
144
autotests/export/languagenesting1.lyx
Normal file
@ -0,0 +1,144 @@
|
||||
#LyX 2.2 created this file. For more info see http://www.lyx.org/
|
||||
\lyxformat 503
|
||||
\begin_document
|
||||
\begin_header
|
||||
\origin unavailable
|
||||
\textclass scrbook
|
||||
\options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
|
||||
\use_default_options false
|
||||
\begin_modules
|
||||
logicalmkup
|
||||
theorems-ams
|
||||
theorems-ams-extended
|
||||
multicol
|
||||
shapepar
|
||||
\end_modules
|
||||
\maintain_unincluded_children false
|
||||
\begin_local_layout
|
||||
Format 7
|
||||
InsetLayout CharStyle:MenuItem
|
||||
LyxType charstyle
|
||||
LabelString menu
|
||||
LatexType command
|
||||
LatexName menuitem
|
||||
Font
|
||||
Family Sans
|
||||
EndFont
|
||||
Preamble
|
||||
\newcommand*{\menuitem}[1]{{\sffamily #1}}
|
||||
EndPreamble
|
||||
End
|
||||
\end_local_layout
|
||||
\language ngerman
|
||||
\language_package default
|
||||
\inputencoding auto
|
||||
\fontencoding global
|
||||
\font_roman "default" "FreeSans"
|
||||
\font_sans "default" "FreeSans"
|
||||
\font_typewriter "default" "FreeSans"
|
||||
\font_math "auto" "auto"
|
||||
\font_default_family default
|
||||
\use_non_tex_fonts true
|
||||
\font_sc false
|
||||
\font_osf false
|
||||
\font_sf_scale 100 100
|
||||
\font_tt_scale 100 100
|
||||
\graphics default
|
||||
\default_output_format default
|
||||
\output_sync 0
|
||||
\bibtex_command default
|
||||
\index_command default
|
||||
\paperfontsize 12
|
||||
\spacing single
|
||||
\use_hyperref true
|
||||
\pdf_title "Handbuchergänzungen"
|
||||
\pdf_author "LyX Team, deutsche Übersetzung: Hartmut Haase"
|
||||
\pdf_subject "LyX-Dokumentation, Benutzerhandbuch, Ergänzungen"
|
||||
\pdf_keywords "LyX, Dokumentation"
|
||||
\pdf_bookmarks true
|
||||
\pdf_bookmarksnumbered true
|
||||
\pdf_bookmarksopen false
|
||||
\pdf_bookmarksopenlevel 1
|
||||
\pdf_breaklinks false
|
||||
\pdf_pdfborder true
|
||||
\pdf_colorlinks true
|
||||
\pdf_backref false
|
||||
\pdf_pdfusetitle false
|
||||
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
|
||||
\papersize a4paper
|
||||
\use_geometry false
|
||||
\use_package amsmath 1
|
||||
\use_package amssymb 1
|
||||
\use_package cancel 0
|
||||
\use_package esint 0
|
||||
\use_package mathdots 1
|
||||
\use_package mathtools 0
|
||||
\use_package mhchem 1
|
||||
\use_package stackrel 0
|
||||
\use_package stmaryrd 0
|
||||
\use_package undertilde 1
|
||||
\cite_engine basic
|
||||
\cite_engine_type default
|
||||
\biblio_style plain
|
||||
\use_bibtopic false
|
||||
\use_indices false
|
||||
\paperorientation portrait
|
||||
\suppress_date false
|
||||
\justification true
|
||||
\use_refstyle 0
|
||||
\notefontcolor #0000ff
|
||||
\index Stichwortverzeichnis
|
||||
\shortcut idx
|
||||
\color #008000
|
||||
\end_index
|
||||
\secnumdepth 3
|
||||
\tocdepth 3
|
||||
\paragraph_separation indent
|
||||
\paragraph_indentation default
|
||||
\quotes_language german
|
||||
\papercolumns 1
|
||||
\papersides 2
|
||||
\paperpagestyle headings
|
||||
\tracking_changes false
|
||||
\output_changes false
|
||||
\html_math_output 0
|
||||
\html_css_as_file 0
|
||||
\html_be_strict true
|
||||
\end_header
|
||||
|
||||
\begin_body
|
||||
|
||||
\begin_layout Title
|
||||
Erweiterte \SpecialChar LyX
|
||||
Features
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subtitle
|
||||
Version 2.1.x
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
The important parts are:
|
||||
\end_layout
|
||||
|
||||
\begin_layout Description
|
||||
|
||||
\family sans
|
||||
\lang english
|
||||
NoWeb
|
||||
\family default
|
||||
->
|
||||
\family sans
|
||||
Program
|
||||
\family default
|
||||
with Flags set to
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
geschrieben.
|
||||
\end_layout
|
||||
|
||||
\end_body
|
||||
\end_document
|
@ -349,6 +349,7 @@ AC_DEFINE_UNQUOTED([LYX_RELEASE_PATCH],$lyx_patch,[Patch version number])
|
||||
|
||||
AC_CONFIG_FILES([Makefile \
|
||||
lyx.1:lyx.1in \
|
||||
autotests/Makefile \
|
||||
boost/Makefile \
|
||||
config/Makefile \
|
||||
development/Makefile \
|
||||
|
@ -216,3 +216,10 @@ export/examples/ko/splash_(dvi3|pdf[45])_texF
|
||||
# Following mathmacros tests fail
|
||||
export/mathmacros/testcases_master_child_.*
|
||||
export/mathmacros/testcases_speed_(dvi|pdf|pdf[23]|(dvi3|pdf[45])_(texF|systemF))
|
||||
|
||||
# Language nesting, document is OK, fails because of a bug in LyX
|
||||
export/export/languagenesting1_lyx16
|
||||
export/export/languagenesting1_dvi
|
||||
export/export/languagenesting1_pdf
|
||||
export/export/languagenesting1_pdf2
|
||||
export/export/languagenesting1_pdf3
|
||||
|
Loading…
Reference in New Issue
Block a user