]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/librbd: allow parallel runs of run-rbd-unit-tests 30072/head
authorWillem Jan Withagen <wjw@digiware.nl>
Mon, 2 Sep 2019 14:28:23 +0000 (16:28 +0200)
committerJason Dillaman <dillaman@redhat.com>
Wed, 4 Sep 2019 00:06:22 +0000 (20:06 -0400)
commite2f292983852f486c1eb56f0f83f8f29d47b96dd
tree6be6209915104cbd5cb09afdc4aa8804479146ee
parentc5a57b6740265e1f2d1ab278fe610280f4bbf8d5
test/librbd: allow parallel runs of run-rbd-unit-tests

Running all tests sequential makes it the longest test of
`make check`, with each partial test taking around 500 sec.
Running 6 tests thus takes almost an hour.

Cut this down if ctest runs tests in parallel

Default behaviour of src/test/run-rbd-unit-tests.sh is kept:
  Without parameters the tests are run in sequence

To run unitttest_librbd with RBD_FEATURES, use `N` as parameter

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/test/CMakeLists.txt
src/test/run-rbd-unit-tests.sh