]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: display the output of failed make check runs 4923/head
authorLoic Dachary <ldachary@redhat.com>
Wed, 10 Jun 2015 21:16:01 +0000 (23:16 +0200)
committerLoic Dachary <ldachary@redhat.com>
Tue, 16 Jun 2015 14:10:11 +0000 (16:10 +0200)
After a make check fails, it shows a summary but not the output of the
failed tests although they contain information to diagnose the problem.

Set the VERBOSE=true automake variable which is documented to collect
and display the failed script output at the end of a run (the content of
the test-suite.log file (valid from automake-1.11 up).

http://www.gnu.org/software/automake/manual/automake.html#index-VERBOSE

Also remove the run-make-check.sh that did the same in a way that is not
compatible with automake-1.11.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
run-make-check.sh
src/Makefile-env.am

index c569ff4adc283e9a8af78b1806286d76bbce5590..0d9a2943af22bd8d1cbab5fe4bfd3aa8494e8272 100755 (executable)
@@ -70,11 +70,6 @@ function main() {
         echo "make check: successful run on $(git rev-parse HEAD)"
         return 0
     else
-        find . -name '*.trs' | xargs grep -l FAIL | while read file ; do
-            log=$(dirname $file)/$(basename $file .trs).log
-            echo FAIL: $log
-            cat $log
-        done
         return 1
     fi
 }
index 9401c9d7ea5fe7fc89564362796ad16de3a5da21..e176596589800345e03d3d9e602d0c393e81a7f6 100644 (file)
@@ -36,6 +36,9 @@ check_PROGRAMS = $(check_TESTPROGRAMS)
 # tests scripts will be appended to this
 check_SCRIPTS =
 
+# display the output of failed check_SCRIPTS after a failed make check
+export VERBOSE = true
+
 # python unit tests need to know where the scripts are located
 export PYTHONPATH=$(top_srcdir)/src/pybind