From: Loic Dachary Date: Sat, 16 May 2015 08:57:43 +0000 (+0200) Subject: tests: reduce make check verbosity X-Git-Tag: v9.0.2~144^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e4ca4685e024aed8eff3f9eee2d82eb232ce871d;p=ceph.git tests: reduce make check verbosity Move check-local scripts src/test/run-cli-tests encode-decode-non-regression.sh test/encoding/readable.sh to check_SCRIPTS. Their output is captured in .log file when running with a recent automake. This reduces the output of make check by an order of magnitude. Signed-off-by: Loic Dachary --- diff --git a/Makefile.am b/Makefile.am index f2d1e8c112bf..f1a0bd7fd0e9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -52,7 +52,9 @@ check-local:: all echo "or run make CHECK_ULIMIT=false -j4 check to override this safeguard." ; \ exit 1 ; \ fi - $(srcdir)/src/test/run-cli-tests '$(top_builddir)/src/test' + +check_SCRIPTS = \ + src/test/run-cli-tests # "make distclean" both runs this and recurses into src/gtest, if # gtest is in DIST_SUBDIRS. Take extra care to not fail when diff --git a/qa/workunits/erasure-code/.gitignore b/qa/workunits/erasure-code/.gitignore new file mode 100644 index 000000000000..7e563b8b3023 --- /dev/null +++ b/qa/workunits/erasure-code/.gitignore @@ -0,0 +1,2 @@ +*.log +*.trs diff --git a/src/Makefile.am b/src/Makefile.am index 74153c91fdd6..daf1a8aa88f9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -78,7 +78,6 @@ EXTRA_DIST += \ $(srcdir)/make_version \ $(srcdir)/.git_version \ $(srcdir)/ceph-rbdnamer \ - $(srcdir)/test/encoding/readable.sh \ $(srcdir)/upstart/ceph-all.conf \ $(srcdir)/upstart/ceph-mon.conf \ $(srcdir)/upstart/ceph-mon-all.conf \ @@ -151,9 +150,9 @@ TESTS = \ $(check_TESTPROGRAMS) \ $(check_SCRIPTS) -check-local:: - $(top_srcdir)/qa/workunits/erasure-code/encode-decode-non-regression.sh - $(srcdir)/test/encoding/readable.sh ../ceph-object-corpus +check_SCRIPTS += \ + ../qa/workunits/erasure-code/encode-decode-non-regression.sh \ + test/encoding/readable.sh if WITH_LTTNG # TODO: If we're running the parallel test harness (the preferred harness), this should be AM_TESTS_ENVIRONMENT instead. diff --git a/src/test/encoding/readable.sh b/src/test/encoding/readable.sh index 1f433a552a63..a0d41dc811e7 100755 --- a/src/test/encoding/readable.sh +++ b/src/test/encoding/readable.sh @@ -1,6 +1,6 @@ #!/bin/sh -e -dir=$1 +dir=../ceph-object-corpus set -e