<div dir="ltr"><div><div>Hi all,<br><br></div>the idea of automated tested was here more than a year ago and I explained that I consider it impossible. Nobody knows which set of packages will be used in a document created by each user. It is only possible to create subsets of test files. It happened to my zwpagelayout package, it did not work for one user at all. After the bug report I found conflicting packages, therefore I added code to cope with it. I still cannot guarantee that it will work with every package (it does not work with xcolor and the support of RTL is very limited). Without loading such packages you cannot find the problem and it took a few years before somebody did it. In this case the error appeared when the package was loaded, but for instance if you have path.sty together with any package loading url.sty (for instance hyperref), the packages wil load without errors but it will fail when typesetting the URL.<br><br></div>If you load a lot of packages into a single document, it is more probable that new clashes will be detected but then it might be difficult to find the reason. Moreover, it sometimes depends on the order of packages.<br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">Zdeněk Wagner<br><a href="http://ttsm.icpf.cas.cz/team/wagner.shtml" target="_blank">http://ttsm.icpf.cas.cz/team/wagner.shtml</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div>
<br><div class="gmail_quote">2016-06-19 4:12 GMT+02:00 Reinhard Kotucha <span dir="ltr"><<a href="mailto:reinhard.kotucha@web.de" target="_blank">reinhard.kotucha@web.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2016-06-18 at 14:59:18 +0900, Norbert Preining wrote:<br>
<br>
 > Hi Uwe,<br>
 ><br>
 > I think this is a nice idea, but needs good thinking. I don't want<br>
 > just a bunch of examples - all must be automatized and best<br>
 > included in our daily checks.<br>
<br>
</span>Hi Uwe and Norbert,<br>
maybe it's worthwhile to know how Thomas Esser tested all the packages<br>
before they were included in teTeX.<br>
<br>
Thomas said that his tests were never supposed to detect all problems<br>
but a package should at least be able to compile its own<br>
documentation.  Thus he created a Makefile for each and every package<br>
he supported.<br>
<br>
Even this was an enormous amount of work.  teTeX was a small subset of<br>
TeX Live, hence it was feasible.  But TeX Live was always much bigger<br>
and grew rapidly since then.<br>
<br>
Compiling package documentation is a good starting point.  If a<br>
package comes with a .dtx file, the process can probably be<br>
automatized, but I fear that most packages require manual<br>
intervention.<br>
<br>
An other point comes to my mind.  Occasionally people report that some<br>
dependencies in texlive.tlpdb are incorrect.  Of course, it's<br>
difficult to get everything correct.  But if there is a halfway<br>
comprehensive test suite we can probably determine dependencies from<br>
the log files.  Another approach is to run TeX with the --recorder<br>
option on these files and evaluate the .fls files afterwards.<br>
<br>
I don't think that the dependencies in texlive.tlpdb can be determined<br>
automatically but I'm convinced that a halfway comprehensive test<br>
suite can provide useful information.<br>
<br>
Uwe's idea is, as far as I understand, to create files which load many<br>
packages at once.  This reduces the mumber of required tests<br>
significantly.  The caveat is that some packages are overlooked<br>
because Uwe doesn't use them.<br>
<br>
After all, I like Uwe's idea.  In TeX parlance:<br>
<br>
  \let\uwe\proceed<br>
<br>
Regards,<br>
  Reinhard<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
------------------------------------------------------------------<br>
Reinhard Kotucha                            Phone: <a href="tel:%2B49-511-3373112" value="+495113373112">+49-511-3373112</a><br>
Marschnerstr. 25<br>
D-30167 Hannover                    mailto:<a href="mailto:reinhard.kotucha@web.de">reinhard.kotucha@web.de</a><br>
------------------------------------------------------------------<br>
</font></span></blockquote></div><br></div>