]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: reduce make check verbosity 4703/head
authorLoic Dachary <ldachary@redhat.com>
Sat, 16 May 2015 08:57:43 +0000 (10:57 +0200)
committerLoic Dachary <ldachary@redhat.com>
Sun, 17 May 2015 22:41:16 +0000 (00:41 +0200)
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>
Makefile.am
qa/workunits/erasure-code/.gitignore [new file with mode: 0644]
src/Makefile.am
src/test/encoding/readable.sh

index f2d1e8c112bf574cb5ef895d16d970a4f5415d1c..f1a0bd7fd0e945d6b624cfe6fc90f6bea9d62f82 100644 (file)
@@ -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 (file)
index 0000000..7e563b8
--- /dev/null
@@ -0,0 +1,2 @@
+*.log
+*.trs
index 74153c91fdd6d59b614635d673be772c3afa7339..daf1a8aa88f95a868be282f509a2ea0034c53b38 100644 (file)
@@ -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.
index 1f433a552a63fe99416d652df6562630bd7b302c..a0d41dc811e7b674ad0d172c18def8231ec4dd68 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh -e
 
-dir=$1
+dir=../ceph-object-corpus
 
 set -e