]> git.apps.os.sepia.ceph.com Git - autobuild-ceph.git/commitdiff
build-ceph.sh always make check 33/head
authorLoic Dachary <ldachary@redhat.com>
Sat, 7 Mar 2015 00:45:27 +0000 (01:45 +0100)
committerLoic Dachary <ldachary@redhat.com>
Sat, 7 Mar 2015 00:47:24 +0000 (01:47 +0100)
Nowadays it's always possible to make check, no need to test for
src/gtest or something.

http://tracker.ceph.com/issues/10766 Fixes: #10766

Signed-off-by: Loic Dachary <loic@dachary.org>
build-ceph.sh

index 2758ab483ea743fccd59da9b3d1f30dd1a5b6943..b8c27a022295a2268424f24342c01032329902ea 100755 (executable)
@@ -50,13 +50,8 @@ fi
 NCPU=$(( 2 * `grep -c processor /proc/cpuinfo` ))
 ionice -c3 nice -n20 make -j$NCPU "$@" || exit 4
 
-# The "make -q check" probe in build.sh.example is faulty in that
-# screwups in Makefiles make it think there are no unit tests to
-# run. That's unacceptable; use a dumber probe.
-if [ -e src/gtest ]; then
-    # run "make check", but give it a time limit in case a test gets stuck
-    ../maxtime 1800 ionice -c3 nice -n20 make check "$@" || exit 5
-fi
+# run "make check", but give it a time limit in case a test gets stuck
+../maxtime 1800 ionice -c3 nice -n20 make check "$@" || exit 5
 
 REV="$(git rev-parse HEAD)"
 OUTDIR="../out/output/sha1/$REV"