Parallelise 'make check-valgrind'
authorTim-Philipp Müller <tim@centricular.com>
Sun, 26 Oct 2014 14:55:49 +0000 (14:55 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 26 Oct 2014 15:01:01 +0000 (15:01 +0000)
Some of the RTP unit tests are very flaky and will
fail more often with the CPU maxed out fully. Those
tests need to be fixed in any case though, they also
fail on slower machines and also occasionally with
normal 'make check'.

Makefile.am

index d663e47..c6da764 100644 (file)
@@ -35,13 +35,13 @@ include $(top_srcdir)/common/release.mak
 include $(top_srcdir)/common/po.mak
 
 check-valgrind:
-       cd tests/check && make check-valgrind
+       $(MAKE) -C tests/check check-valgrind
 
 if HAVE_GST_CHECK
 check-torture:
-       cd tests/check && make torture
+       $(MAKE) -C tests/check torture
 build-checks:
-       cd tests/check && make build-checks
+       $(MAKE) -C tests/check build-checks
 else
 check-torture:
        true