* don't enable parsable for non-parallel executions in travis
* add --parsable to run.sh
* use --parsable rather than TS_OPT_ in travis
Signed-off-by: Karel Zak <kzak@redhat.com>
It's ugly to use the same TS_ prefix in tests as well as in
build-system (e.g. make check), because then some env. variable can be
interpreted by our regression tests. For example TS_PARALLEL=.
It's seems better to use TS_ exclusively for tests and TESTS_ for
build-system.
Signed-off-by: Karel Zak <kzak@redhat.com>
We break long lines and make output sill looks nice with and without
V=1.
As a side effect we can now run
make TS_COMMAND="true"
to do nothing but building all check_PROGRAMS.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Now we can do something like this
make check TS_OPTS="--fake --parallel=32"
Note we still always set --parallel but the last one wins.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
The command 'make check' is called from 'make distcheck' (which is
used to generate official util-linux tarballs).
It means that tests/ stuff has to be compatible with autotools and
differentiate between source and build directories.
* remove run-nonroot.sh (merged into run.sh
* remove commands.sh.in
* all tests and top level run.sh accept --builddir and --srcdir
command line options
* functions.sh modified to use $top_builddir/tests for output files
Signed-off-by: Karel Zak <kzak@redhat.com>