Commit bcc2330a authored by Milan Broz's avatar Milan Broz

Actually fail early Travis test if non-root test fails.

parent f0f5913e
......@@ -50,9 +50,7 @@ function check_nonroot
sudo dmsetup version
sudo dmsetup targets
make check || return
#sudo $MAKE install || return
make check
}
function check_root
......@@ -77,9 +75,7 @@ function check_root
sudo dmsetup targets
# FIXME: we should use -E option here
sudo make check || return
#sudo $MAKE install || return
sudo make check
}
function check_nonroot_compile_only
......@@ -141,14 +137,14 @@ function travis_script
case "$MAKE_CHECK" in
gcrypt)
check_nonroot "--with-crypto_backend=gcrypt"
check_nonroot "--with-crypto_backend=gcrypt" && \
check_root "--with-crypto_backend=gcrypt"
;;
gcrypt_compile)
check_nonroot_compile_only "--with-crypto_backend=gcrypt"
;;
openssl)
check_nonroot "--with-crypto_backend=openssl"
check_nonroot "--with-crypto_backend=openssl" && \
check_root "--with-crypto_backend=openssl"
;;
openssl_compile)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment