summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-10-06 07:03:49 -0300
committerdrebs <drebs@riseup.net>2017-10-06 07:03:49 -0300
commit7e5a47d2ae2940acfc176fe28b02ba14b43da608 (patch)
tree4680842f1e9ae8545943155891f1b53f04b4275f
parent2772d76d0d66d9e094a435e110fd9f945d9e105c (diff)
[test] fix script that runs benchmarks
-rwxr-xr-xscripts/benchmark/run-benchmarks-ci-job.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/benchmark/run-benchmarks-ci-job.sh b/scripts/benchmark/run-benchmarks-ci-job.sh
index e99a8ab0..b2a8c417 100755
--- a/scripts/benchmark/run-benchmarks-ci-job.sh
+++ b/scripts/benchmark/run-benchmarks-ci-job.sh
@@ -13,6 +13,7 @@
# the variable from their environments as they see fit.
set -eu
+set -o xtrace
ENVIRONMENT=${1}
RUN_BENCHMARKS=${RUN_BENCHMARKS:-}
@@ -22,9 +23,11 @@ if [ -z "${RUN_BENCHMARKS}" ]; then
exit 0
fi
+echo "Running tox in environment ${ENVIRONMENT}..."
+
/usr/bin/unbuffer \
tox \
- --recreate
+ --recreate \
-e ${ENVIRONMENT} \
-- \
--couch-url http://couchdb:5984 \