]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: make compatible with autotools
authorKarel Zak <kzak@redhat.com>
Fri, 3 Aug 2012 19:24:51 +0000 (21:24 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 3 Aug 2012 19:24:51 +0000 (21:24 +0200)
commit1b03e2cd33a059fdd355c52899e151130777c44f
treeb6eac3caf34c4bfb0127e67819b32190a11f0cea
parentb456a677f226bb3c7e2a692b3719f268211236cb
tests: make compatible with autotools

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>
Makefile.am
configure.ac
tests/.gitignore
tests/Makemodule.am
tests/commands.sh [moved from tests/commands.sh.in with 97% similarity]
tests/functions.sh
tests/run-nonroot.sh [deleted file]
tests/run.sh