From 7a60dce86e0074aa587bf58dcbea13eec7558435 Mon Sep 17 00:00:00 2001 From: Alec Leamas Date: Dec 12 2013 14:15:15 +0000 Subject: run_tests: bad bugfix (return value always 0). --- diff --git a/test/run-tests b/test/run-tests index 3333b63..8e7468d 100755 --- a/test/run-tests +++ b/test/run-tests @@ -50,7 +50,7 @@ cd $(dirname $(readlink -fn $0)) cd .. logfile="$PWD/dist/build.log" -{ +tee $logfile < <( { if [[ -n "$PIP_INSTALL" || ! -d fedorareviewenv ]]; then install_virtenv fi @@ -92,7 +92,7 @@ logfile="$PWD/dist/build.log" pep8 --config pep8.conf src/FedoraReview plugins fi -} 2>&1 | tee $logfile +} 2>&1 ) exit $status