[latex3-commits] [git/LaTeX3-latex3-latex2e] travis-test: Add .tex support file (d006b4b9)

PhelypeOleinik tex.phelype at gmail.com
Sat Aug 15 04:34:23 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : travis-test
Link       : https://github.com/latex3/latex2e/commit/d006b4b9716ae45f6ac5560137e195e1f6a85deb

>---------------------------------------------------------------

commit d006b4b9716ae45f6ac5560137e195e1f6a85deb
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date:   Fri Aug 14 23:34:23 2020 -0300

    Add .tex support file


>---------------------------------------------------------------

d006b4b9716ae45f6ac5560137e195e1f6a85deb
 base/testfiles-lthooks2/filehook-006.lvt           | 30 ++++------------------
 base/testfiles/aaaaaaaaargh.lvt                    |  6 +++++
 .../{github-0060.luatex.tlg => aaaaaaaaargh.tlg}   |  1 +
 base/testfiles/helpers/.tex                        |  3 +++
 4 files changed, 15 insertions(+), 25 deletions(-)

diff --git a/base/testfiles-lthooks2/filehook-006.lvt b/base/testfiles-lthooks2/filehook-006.lvt
index 65871f88..8c5377ae 100644
--- a/base/testfiles-lthooks2/filehook-006.lvt
+++ b/base/testfiles-lthooks2/filehook-006.lvt
@@ -31,31 +31,11 @@
     ===============%
   }}
 
-\makeatletter
-\tracingall
-
-\typeout{TRAVIS WRITING:}
-
-\begin{filecontents*}{file-1.tex}
-\typeout{TRAVIS READING FILE-1.TEX}
-\end{filecontents*}
-
-\typeout{TRAVIS SEARCHING:}
-
-\IfFileExists{.tex}%
-  {\TYPEOUT{.tex EXISTS}}
-  {\TYPEOUT{.tex DOESN'T EXIST}}
-
-\typeout{TRAVIS INPUTTING:}
-
-\@@input .tex
-
-\typeout{TRAVIS INPUTTING AGAIN:}
-
-\input{.tex}
-
-\END
-
+\begin{filecontents}{file-1.tex}
+\test{file-1}{before}
+\input{file-2}
+\test{file-1}{after}
+\end{filecontents}
 
 \begin{filecontents}{file-2.tex}
 \test{file-2}{before}
diff --git a/base/testfiles/aaaaaaaaargh.lvt b/base/testfiles/aaaaaaaaargh.lvt
new file mode 100644
index 00000000..a0fbea08
--- /dev/null
+++ b/base/testfiles/aaaaaaaaargh.lvt
@@ -0,0 +1,6 @@
+\input{test2e}
+\START
+\makeatletter
+
+\@@input .tex
+\END
diff --git a/base/testfiles/github-0060.luatex.tlg b/base/testfiles/aaaaaaaaargh.tlg
similarity index 83%
copy from base/testfiles/github-0060.luatex.tlg
copy to base/testfiles/aaaaaaaaargh.tlg
index 1d0c6975..662b1961 100644
--- a/base/testfiles/github-0060.luatex.tlg
+++ b/base/testfiles/aaaaaaaaargh.tlg
@@ -1,2 +1,3 @@
 This is a generated file for the LaTeX2e validation system.
 Don't change this file in any respect.
+(.tex File ignored)
diff --git a/base/testfiles/helpers/.tex b/base/testfiles/helpers/.tex
new file mode 100644
index 00000000..2c68351c
--- /dev/null
+++ b/base/testfiles/helpers/.tex
@@ -0,0 +1,3 @@
+% Some tests use this file, but it doesn't build in base
+ \message{File ignored}
+\endinput





More information about the latex3-commits mailing list.