diff options
author | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2019-05-05 12:51:20 +0000 |
---|---|---|
committer | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2019-05-05 12:51:20 +0000 |
commit | 599e5549505393e6a784423a2d367f4b172ade8d (patch) | |
tree | 631602c5b11c618b0ad40301e99f41bf2a57a4a3 | |
parent | c6ab9eca978627bb7a91b800a94b900818079a4a (diff) |
bibtex-x: new test files
git-svn-id: svn://tug.org/texlive/trunk@50997 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/bibtex-x/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/bibtex-x/Makefile.am | 7 | ||||
-rw-r--r-- | Build/source/texk/bibtex-x/Makefile.in | 10 | ||||
-rwxr-xr-x | Build/source/texk/bibtex-x/tests/bibtexu-yannis.test | 18 | ||||
-rw-r--r-- | Build/source/texk/bibtex-x/tests/yannis.aux | 4 | ||||
-rw-r--r-- | Build/source/texk/bibtex-x/tests/yannis.bbl | 44 | ||||
-rw-r--r-- | Build/source/texk/bibtex-x/tests/yannis.bib | 48 |
7 files changed, 131 insertions, 6 deletions
diff --git a/Build/source/texk/bibtex-x/ChangeLog b/Build/source/texk/bibtex-x/ChangeLog index 35055f15017..2c657c37496 100644 --- a/Build/source/texk/bibtex-x/ChangeLog +++ b/Build/source/texk/bibtex-x/ChangeLog @@ -1,3 +1,9 @@ +2019-05-05 Hironobu Yamashita <h.y.acetaminophen@gmail.com> + + * bibtexu-yannis.test, yannis.aux, yannis.bib, yannis.bbl: + New test files for BibTeXu. + * Makefile.am: Add the new test. + 2019-03-15 Hironobu Yamashita <h.y.acetaminophen@gmail.com> * Makefile.am: Add bibtex8.1 and bibtexu.1. diff --git a/Build/source/texk/bibtex-x/Makefile.am b/Build/source/texk/bibtex-x/Makefile.am index 13cc3bebb8a..9c1317f03ee 100644 --- a/Build/source/texk/bibtex-x/Makefile.am +++ b/Build/source/texk/bibtex-x/Makefile.am @@ -76,7 +76,7 @@ dist_btdoc_DATA = \ ## Tests. ## bibtex8_tests = tests/bibtex8.test tests/bibtex8-mem.test tests/sort.test -bibtexu_tests = tests/bibtexu.test +bibtexu_tests = tests/bibtexu.test tests/bibtexu-yannis.test TESTS = if BIBTEX8 @@ -86,7 +86,7 @@ tests/bibtex8.log tests/bibtex8-mem.log tests/sort.log: bibtex8$(EXEEXT) if BIBTEXU TESTS += $(bibtexu_tests) endif BIBTEXU -tests/bibtexu.log: bibtexu$(EXEEXT) +tests/bibtexu.log tests/bibtexu-yannis.log: bibtexu$(EXEEXT) EXTRA_DIST = $(bibtex8_tests) $(bibtexu_tests) DISTCLEANFILES = @@ -101,6 +101,9 @@ EXTRA_DIST += tests/sort.aux \ DISTCLEANFILES += tests/xsort.aux tests/xsort.bbl tests/xsort.blg ## tests/bibtex8-mem.test DISTCLEANFILES += tests/memtest.bib tests/memtest?.* +## tests/bibtexu-yannis.test +EXTRA_DIST += tests/yannis.aux tests/yannis.bbl tests/yannis.bib +DISTCLEANFILES += tests/xyannis.aux tests/xyannis.bbl tests/xyannis.blg ## Not used ## diff --git a/Build/source/texk/bibtex-x/Makefile.in b/Build/source/texk/bibtex-x/Makefile.in index b2a624fe211..3a3ca507333 100644 --- a/Build/source/texk/bibtex-x/Makefile.in +++ b/Build/source/texk/bibtex-x/Makefile.in @@ -646,17 +646,19 @@ dist_btdoc_DATA = \ file_id.diz bibtex8_tests = tests/bibtex8.test tests/bibtex8-mem.test tests/sort.test -bibtexu_tests = tests/bibtexu.test +bibtexu_tests = tests/bibtexu.test tests/bibtexu-yannis.test TESTS = $(am__append_3) $(am__append_4) EXTRA_DIST = $(bibtex8_tests) $(bibtexu_tests) tests/sort.aux \ tests/sort1.bbl tests/sort2.bbl tests/sort3.bbl \ tests/sort1.csf tests/sort2.csf tests/sort3.csf \ - tests/testdata.bib tests/teststyle.bst bt371csf.zip dos-dj.mak \ + tests/testdata.bib tests/teststyle.bst tests/yannis.aux \ + tests/yannis.bbl tests/yannis.bib bt371csf.zip dos-dj.mak \ dos-emx.mak os2.mak unix.mak csf/00readme.txt csf/COPYING \ csf/HISTORY csf/file_id.diz DISTCLEANFILES = tests/xexampl.aux tests/xexampl.bbl tests/xexampl.blg \ tests/xsort.aux tests/xsort.bbl tests/xsort.blg \ - tests/memtest.bib tests/memtest?.* + tests/memtest.bib tests/memtest?.* tests/xyannis.aux \ + tests/xyannis.bbl tests/xyannis.blg all: config.h $(MAKE) $(AM_MAKEFLAGS) all-am @@ -1671,7 +1673,7 @@ $(bibtexu_OBJECTS): $(KPATHSEA_DEPEND) $(ICU_DEPEND) @KPATHSEA_RULE@ @ICU_RULE@ tests/bibtex8.log tests/bibtex8-mem.log tests/sort.log: bibtex8$(EXEEXT) -tests/bibtexu.log: bibtexu$(EXEEXT) +tests/bibtexu.log tests/bibtexu-yannis.log: bibtexu$(EXEEXT) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/Build/source/texk/bibtex-x/tests/bibtexu-yannis.test b/Build/source/texk/bibtex-x/tests/bibtexu-yannis.test new file mode 100755 index 00000000000..a2140018e4c --- /dev/null +++ b/Build/source/texk/bibtex-x/tests/bibtexu-yannis.test @@ -0,0 +1,18 @@ +#! /bin/sh -vx +# $Id: bibtexu-yannis.test 45809 2017-11-15 00:36:56Z karl $ +# Copyright 2019 Karl Berry <tex-live@tug.org> +# You may freely use, modify and/or distribute this file. + +# Test file prepared by Yannis in 2009. + +test -d tests || mkdir -p tests + +cp $srcdir/tests/yannis.aux tests/xyannis.aux + +TEXMFCNF=$srcdir/../kpathsea \ + BSTINPUTS=$srcdir/../web2c/tests \ + BIBINPUTS=$srcdir/tests \ + ./bibtexu -l fr -o fr tests/xyannis || exit 1 + +diff $srcdir/tests/yannis.bbl tests/xyannis.bbl || exit 1 + diff --git a/Build/source/texk/bibtex-x/tests/yannis.aux b/Build/source/texk/bibtex-x/tests/yannis.aux new file mode 100644 index 00000000000..bc896a7a621 --- /dev/null +++ b/Build/source/texk/bibtex-x/tests/yannis.aux @@ -0,0 +1,4 @@ +\relax +\citation{*} +\bibstyle{apalike} +\bibdata{yannis} diff --git a/Build/source/texk/bibtex-x/tests/yannis.bbl b/Build/source/texk/bibtex-x/tests/yannis.bbl new file mode 100644 index 00000000000..4d98ec3e3d9 --- /dev/null +++ b/Build/source/texk/bibtex-x/tests/yannis.bbl @@ -0,0 +1,44 @@ +\begin{thebibliography}{} + +\bibitem[Échelon, 2009]{cle2} +Échelon, N. (2009). +\newblock {\em La vie est un long fleuve tranquille}. +\newblock Les Éditions du désastre. + +\bibitem[Œtingen, 2009]{cle8} +Œtingen, N. (2009). +\newblock {\em Un livre}. +\newblock Les Éditions du désastre. + +\bibitem[Tarantin, 2009]{cle4} +Tarantin, N. (2009). +\newblock {\em En revenant de Tarascon}. +\newblock Les Éditions du désastre. + +\bibitem[Διογένης, 2009]{cle1} +Διογένης (2009). +\newblock {\em Μήπως εἴδατε τὸ φανάρι μου;}. +\newblock Τὰ σοφὰ βιβλία. + +\bibitem[Ἕλληνας, 2009]{cle7} +Ἕλληνας, Μ. (2009). +\newblock {\em Τὸ καλὸ παράδειγμα}. +\newblock Ἐκδοτικὸς οἶκος «Δὲν βαριέσαι». + +\bibitem[Ζαχαρόπουλος, 2009]{cle5} +Ζαχαρόπουλος, Ζ. (2009). +\newblock {\em Μοῦ λένε νὰ μὴν κλαίω, μὰ τί νὰ + κάνω, ἀφοῦ σὲ χάνω}. +\newblock Ἐκδόσεις τῶν χαμένων ἐλπίδων. + +\bibitem[天堂最新的章节表, 2009]{cle3} +天堂最新的章节表, 格. (2009). +\newblock {\em 製版・文書処理システム Ω}. +\newblock Les Éditions du désastre. + +\bibitem[天王最新章, 2009]{cle6} +天王最新章, 节. (2009). +\newblock {\em 製版・文書処理システム Ω}. +\newblock Les Éditions du désastre. + +\end{thebibliography} diff --git a/Build/source/texk/bibtex-x/tests/yannis.bib b/Build/source/texk/bibtex-x/tests/yannis.bib new file mode 100644 index 00000000000..b442eeb88a2 --- /dev/null +++ b/Build/source/texk/bibtex-x/tests/yannis.bib @@ -0,0 +1,48 @@ + +@book{cle1, + Author = {Διογένης}, + Publisher = {Τὰ σοφὰ βιβλία}, + Title = {Μήπως εἴδατε τὸ φανάρι μου;}, + Year = {2009}} + +@book{cle2, + Author = {Échelon, Nicolas}, + Publisher = {Les Éditions du désastre}, + Title = {La vie est un long fleuve tranquille}, + Year = {2009}} + +@book{cle3, + Author = {天堂最新的章节表, 格的儿子}, + Publisher = {Les Éditions du désastre}, + Title = {製版・文書処理システム Ω}, + Year = {2009}} + +@book{cle4, + Author = {Tarantin, Nicolas}, + Publisher = {Les Éditions du désastre}, + Title = {En revenant de Tarascon}, + Year = {2009}} + +@book{cle5, + Author = {Ζαχαρόπουλος, Ζαχαρίας}, + Publisher = {Ἐκδόσεις τῶν χαμένων ἐλπίδων}, + Title = {Μοῦ λένε νὰ μὴν κλαίω, μὰ τί νὰ κάνω, ἀφοῦ σὲ χάνω}, + Year = {2009}} + +@book{cle6, + Author = {天王最新章, 节列表}, + Publisher = {Les Éditions du désastre}, + Title = {製版・文書処理システム Ω}, + Year = {2009}} + +@book{cle7, + Author = {Ἕλληνας, Μῆτσος}, + Publisher = {Ἐκδοτικὸς οἶκος «Δὲν βαριέσαι»}, + Title = {Τὸ καλὸ παράδειγμα}, + Year = {2009}} + +@book{cle8, + Author = {Œtingen, Nicolas}, + Publisher = {Les Éditions du désastre}, + Title = {Un livre}, + Year = {2009}} |