]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: replace --enable-docker with --enable-root-make-check
authorLoic Dachary <ldachary@redhat.com>
Sun, 21 Dec 2014 08:39:01 +0000 (09:39 +0100)
committerLoic Dachary <ldachary@redhat.com>
Sun, 21 Dec 2014 16:53:00 +0000 (17:53 +0100)
commit94abadbd804c4945322080ccdb91ba29bb45d829
tree92763adf1ef7537ceacb22414d06a9aec87f6e6c
parent7b68f70a2e43bddd23661bd6a4abea8ba078b15a
tests: replace --enable-docker with --enable-root-make-check

The --enable-docker logic was that each test that needs privileges to
run uses a container to do so. The problem with this approach and
make -j8 check is that such tests compete for a single container.

The --enable-root-make-check activates tests that require privileges and
assume it is ok to use sudo to acquire privileges. The decision to run
in a container is then taken by the caller who will run something like:

   docker-tests.sh ./configure --enable-root-make-check
   docker-tests.sh make -j8 check

Signed-off-by: Loic Dachary <ldachary@redhat.com>
configure.ac
run-make-check.sh
src/test/Makefile.am
src/test/ceph-disk-root.sh