mirror of
https://github.com/ceph/ceph
synced 2025-04-04 15:36:24 +00:00
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 <ldachary@redhat.com>
This commit is contained in:
parent
a0eac3e48c
commit
e4ca4685e0
@ -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
|
||||
|
2
qa/workunits/erasure-code/.gitignore
vendored
Normal file
2
qa/workunits/erasure-code/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
*.log
|
||||
*.trs
|
@ -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.
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
dir=$1
|
||||
dir=../ceph-object-corpus
|
||||
|
||||
set -e
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user