Tests are under ./tests
. These are a work in progress, and may be broken.
All tests are run through test.sh
as follows: ./test.sh <path-to-ttb> <test set>
.
Tests require the following:
- a
ttb
bundle (local or remote) - a recent installation of Tectonic
The following test sets are avaiable:
files
, which tries to compile all files undertests/files
andtests/formats
classes
, which tries to compile a simple document usingtests/classes.list
Note that most test files contain comments explaining the reason and expected outcome of the test.
All test output ends up under tests/build
Output for files
:
files/logs
: log files for all builds (passed or failed)files/*.{pdf,fmt,etc}
: output files for each build
Output for classes
failed
: classes that failed to compilepassed
: classes that complied without errorlogs
: log files for all compile jobs