X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Frun-make-check.sh;h=b23672c4f0a8b022d25103711ab2cc4a43f85049;hb=c07f9fc5a4f48397831383549fb0482b93480643;hp=4ec97be2fcde7fc7d96bafc4cc67e9fe1d61d4fa;hpb=31f18b776d001752a193a7cec8bb49033c1a904c;p=ceph.git diff --git a/ceph/run-make-check.sh b/ceph/run-make-check.sh index 4ec97be2f..b23672c4f 100755 --- a/ceph/run-make-check.sh +++ b/ceph/run-make-check.sh @@ -71,7 +71,10 @@ function run() { $DRY_RUN ./do_cmake.sh $@ || return 1 $DRY_RUN cd build $DRY_RUN make $BUILD_MAKEOPTS tests || return 1 - $DRY_RUN ctest $CHECK_MAKEOPTS --output-on-failure || return 1 + if ! $DRY_RUN ctest $CHECK_MAKEOPTS --output-on-failure; then + rm -f ${TMPDIR:-/tmp}/ceph-asok.* + return 1 + fi } function main() {