Commit da496f83 authored by Vít Novotný's avatar Vít Novotný
Browse files

Turned the blind test suite into visual comparison tests.

parent 734e61eb
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
SUBMAKES_REQUIRED=logo/mu locale style style/mu
SUBMAKES_EXTRA=guide/mu example/mu
SUBMAKES_TEST=test test/mu/blind test/mu/compare
SUBMAKES_TEST=test test/mu/blind test/mu/compare \
	test/mu/compare-example
SUBMAKES=$(SUBMAKES_REQUIRED) $(SUBMAKES_EXTRA) $(SUBMAKES_TEST)
.PHONY: all base complete docs clean dist dist-implode implode \
	install install-base install-docs uninstall tests $(SUBMAKES)
@@ -15,11 +16,12 @@ DTXFILES=*.dtx locale/czech.dtx locale/english.dtx \
	locale/slovak.dtx style/*.dtx style/*/*.dtx
INSFILES=*.ins locale/czech.ins locale/english.ins \
	locale/slovak.ins style/*.ins style/*/*.ins
TESTS=test/*.tex test/mu/blind/*.tex test/mu/compare/*.pdf
TESTS=test/*.tex test/mu/compare/*.pdf test/mu/compare/*.tex \
	test/mu/compare-example/*.pdf test/mu/comparepdf.sh
MAKES=guide/mu/Makefile guide/mu/resources/Makefile \
	locale/Makefile	logo/mu/Makefile Makefile style/Makefile \
	style/mu/Makefile test/Makefile test/mu/blind/Makefile \
	test/mu/compare/Makefile
	test/mu/compare/Makefile test/mu/compare-example/Makefile
USEREXAMPLE_SOURCES=example/mu/Makefile example/mu/example.dtx \
	example/mu/*.ins
USEREXAMPLES=example/mu/econ-lualatex.pdf \
@@ -39,8 +41,9 @@ DEVEXAMPLES=guide/EXAMPLE/DESCRIPTION guide/mu/DESCRIPTION \
	logo/DESCRIPTION style/EXAMPLE/DESCRIPTION style/mu/DESCRIPTION \
	style/DESCRIPTION test/DESCRIPTION test/EXAMPLE/DESCRIPTION \
	test/mu/DESCRIPTION test/mu/blind/DESCRIPTION \
	test/mu/compare/DESCRIPTION example/EXAMPLE/DESCRIPTION \
	example/mu/DESCRIPTION example/DESCRIPTION
	test/mu/compare/DESCRIPTION test/mu/compare-example/DESCRIPTION \
	example/EXAMPLE/DESCRIPTION example/mu/DESCRIPTION \
	example/DESCRIPTION
EXAMPLES=$(USEREXAMPLES) $(DEVEXAMPLES)
MISCELLANEOUS=guide/mu/resources/empty.tex guide/mu/guide.bib \
	guide/mu/guide.dtx guide/mu/*.ins guide/mu/resources/cog.pdf \
+6 −2
Original line number Diff line number Diff line
@@ -19,8 +19,12 @@ engines as well as the LaTeX packages required for the typesetting
of the technical documentation within the `fithesis.dtx` file and
the guide files within the `guide/` subdirectory.

(For running the test suite using the `make tests` command, the
`faketime` and `comparepdf` commands are also required.)
For running the test suite using the `make tests` command, the
following tools are also required:

  * `faketime`
  * `comparepdf`
  * `pdftk`

# Installation #

+2 −7
Original line number Diff line number Diff line
@@ -183,17 +183,13 @@
% \iffalse
%<*mu/med>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/med/fithesis-czech.def}[2015/06/26]
\ProvidesFile{fithesis/locale/mu/med/fithesis-czech.def}[2016/03/23]

% Různé
\gdef\thesis@czech@abstractTitle{Anotace}

% Zástupné texty
\gdef\thesis@czech@facultyName{Lékařská fakulta}

% Bibliografický záznam
\gdef\thesis@czech@bib@title{Bibliografický záznam}
\gdef\thesis@czech@bib@pages{str}
%    \end{macrocode}\iffalse
%</mu/med>
% \fi\file{locale/mu/fi/fithesis-czech.def}
@@ -323,7 +319,7 @@
% \iffalse
%<*mu/sci>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/sci/fithesis-czech.def}[2016/01/12]
\ProvidesFile{fithesis/locale/mu/sci/fithesis-czech.def}[2016/03/23]

% Zástupné texty
\gdef\thesis@czech@facultyName{Přírodovědecká fakulta}
@@ -372,7 +368,6 @@
  \thesis@year}}

% Bibliografický záznam
\gdef\thesis@czech@bib@title{Bibliografický záznam}
\global\let\thesis@czech@bib@author\thesis@czech@authorTitle
\gdef\thesis@czech@bib@thesisTitle{Název práce}
\gdef\thesis@czech@bib@programme{Studijní program}
+2 −7
Original line number Diff line number Diff line
@@ -150,17 +150,13 @@
% \iffalse
%<*mu/med>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/med/fithesis-english.def}[2015/06/26]
\ProvidesFile{fithesis/locale/mu/med/fithesis-english.def}[2016/03/23]

% Miscellaneous
\gdef\thesis@english@abstractTitle{Annotation}

% Placeholders
\gdef\thesis@english@facultyName{Faculty of Medicine}

% Bibliographic entry
\gdef\thesis@english@bib@title{Bibliographic record}
\gdef\thesis@english@bib@pages{p}
%    \end{macrocode}\iffalse
%</mu/med>
% \fi\file{locale/mu/fi/fithesis-english.def}
@@ -241,7 +237,7 @@
% \iffalse
%<*mu/sci>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/sci/fithesis-english.def}[2015/06/26]
\ProvidesFile{fithesis/locale/mu/sci/fithesis-english.def}[2016/03/23]

% Placeholders
\gdef\thesis@english@facultyName{Faculty of Science}
@@ -250,7 +246,6 @@
\global\let\thesis@english@advisorTitleEn=\thesis@english@bib@advisor

% Bibliographic entry
\gdef\thesis@english@bib@title{Bibliographic entry}
\global\let\thesis@english@bib@author\thesis@english@authorTitle
\gdef\thesis@english@bib@thesisTitle{Title of Thesis}
\gdef\thesis@english@bib@programme{Degree Programme}
+1 −5
Original line number Diff line number Diff line
@@ -184,17 +184,13 @@
% \iffalse
%<*mu/med>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/med/fithesis-slovak.def}[2015/06/26]
\ProvidesFile{fithesis/locale/mu/med/fithesis-slovak.def}[2016/03/23]

% Rôzne
\gdef\thesis@slovak@abstractTitle{Anotácie}

% Zástupné texty
\gdef\thesis@slovak@facultyName{Lekárska fakulta}

% Bibliografický zoznam
\gdef\thesis@slovak@bib@title{Bibliografický záznam}
\gdef\thesis@slovak@bib@pages{str}
%    \end{macrocode}\iffalse
%</mu/med>
% \fi\file{locale/mu/fi/fithesis-slovak.def}
Loading