[latex3-commits] [git/LaTeX3-latex3-latex2e] travis-test: Add some tests (will fail on purpose) (ff6ce95d)

PhelypeOleinik tex.phelype at gmail.com
Sat Aug 15 01:59:50 CEST 2020


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

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

commit ff6ce95ded1d9ba845df006f57ba6602b91ef9bb
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date:   Fri Aug 14 20:59:50 2020 -0300

    Add some tests (will fail on purpose)


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

ff6ce95ded1d9ba845df006f57ba6602b91ef9bb
 base/testfiles-lthooks2/filehook-006.lvt | 30 +++++++++++++++++++++++++-----
 1 file changed, 25 insertions(+), 5 deletions(-)

diff --git a/base/testfiles-lthooks2/filehook-006.lvt b/base/testfiles-lthooks2/filehook-006.lvt
index 8c5377ae..65871f88 100644
--- a/base/testfiles-lthooks2/filehook-006.lvt
+++ b/base/testfiles-lthooks2/filehook-006.lvt
@@ -31,11 +31,31 @@
     ===============%
   }}
 
-\begin{filecontents}{file-1.tex}
-\test{file-1}{before}
-\input{file-2}
-\test{file-1}{after}
-\end{filecontents}
+\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-2.tex}
 \test{file-2}{before}





More information about the latex3-commits mailing list.