commit 17dc24419a2ba2bdf09da050b364d1388983106e
Author: Kornel Benko <[email protected]>
Date: Sun Apr 22 11:59:19 2018 +0200
Adapt test outline-beamer' to the synchronous batch export
Also add the 'export'- label to this test
---
development/batchtests/CMakeLists.txt | 1 +
development/batchtests/beamer_test.tex.orig | 4 +++-
lib/scripts/lyx_batch.pl.in | 1 -
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/development/batchtests/CMakeLists.txt
b/development/batchtests/CMakeLists.txt
index 64d40fa..94bb1cf 100644
--- a/development/batchtests/CMakeLists.txt
+++ b/development/batchtests/CMakeLists.txt
@@ -1,6 +1,7 @@
# Checking whether moving beamer slides through the document doesn't break its
structure.
# see also https://www.mail-archive.com/[email protected]/msg203281.html
add_test(NAME "outline-beamer" COMMAND ${PERL_EXECUTABLE}
${CMAKE_BINARY_DIR}/lyx_batch.pl beamer_test)
+setmarkedtestlabel(outline-beamer "export")
# Checking that info inset correctly fills up VCS information
# see also bug #10835
add_test(NAME "vcs-info" COMMAND ${PERL_EXECUTABLE}
${CMAKE_BINARY_DIR}/lyx_batch.pl vcs_info_export)
diff --git a/development/batchtests/beamer_test.tex.orig
b/development/batchtests/beamer_test.tex.orig
index edf2f48..c925723 100644
--- a/development/batchtests/beamer_test.tex.orig
+++ b/development/batchtests/beamer_test.tex.orig
@@ -798,11 +798,13 @@ shipped with \LyX !
\begin{frame}
\frametitle<presentation>{References}
+
+\end{frame}
+%
\begin{thebibliography}{1}
\bibitem{beamer-ug}Tantau, Till et al.:\newblock The beamer class.
\url{https://ctan.org/tex-archive/macros/latex/contrib/beamer/doc/beameruserguide.pdf}.
\end{thebibliography}
-\end{frame}
%
\end{document}
diff --git a/lib/scripts/lyx_batch.pl.in b/lib/scripts/lyx_batch.pl.in
index 2239544..b0b1472 100755
--- a/lib/scripts/lyx_batch.pl.in
+++ b/lib/scripts/lyx_batch.pl.in
@@ -30,7 +30,6 @@ my %Tests = (
"repeat 150 outline-down",
"repeat 150 outline-up",
"buffer-export pdflatex",
- "repeat 150 outline-down",
"buffer-reload dump",
"lyx-quit"]
},