~debian-bazaar/bzr-webdav/unstable

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Jelmer Vernooij
  • Date: 2011-02-27 22:53:49 UTC
  • Revision ID: jelmer@debian.org-20110227225349-az237b6cze2cnsik
Run test suite in parallel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
        -rm -rf build test*.tmp 
10
10
        find . -name "*.pyc" -print0 | xargs -0 rm -f
11
11
 
 
12
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 
13
CONCURRENCY = BZR_CONCURRENCY=$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 
14
endif
 
15
 
12
16
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
13
17
common-post-build-indep::
14
 
        BZR_PLUGINS_AT=webdav@$(CURDIR) /usr/bin/bzr selftest -v -s bp.webdav
 
18
        $(CONCURRENCY) BZR_PLUGINS_AT=webdav@$(CURDIR) /usr/bin/bzr selftest -v \
 
19
            --parallel=fork -s bp.webdav
15
20
endif