]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/librbd: allow parallel runs of run-rbd-unit-tests 36726/head
authorWillem Jan Withagen <wjw@digiware.nl>
Mon, 2 Sep 2019 14:28:23 +0000 (16:28 +0200)
committerJason Dillaman <dillaman@redhat.com>
Wed, 19 Aug 2020 20:59:54 +0000 (16:59 -0400)
commit0b33d6217471c5f57ada878d28884d090b9086d2
treeb249fcc8ed887465a0c642c7e83262931d551278
parent3481cd3395d08ab2a30e3016066c99748a6e4fe4
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>
(cherry picked from commit e2f292983852f486c1eb56f0f83f8f29d47b96dd)
src/test/CMakeLists.txt
src/test/run-rbd-unit-tests.sh