summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Marchand <david.marchand@redhat.com>2019-08-08 14:22:17 +0200
committerThomas Monjalon <thomas@monjalon.net>2019-09-13 13:19:00 +0200
commita6069abe0288371f67fa5dffa81e4ec8b6bcf761 (patch)
tree9efaca41887c110b5cec88f5a27c3a9b5b820ec1
parent7632da0b875f0e2ca9b5c1bc03e8a43bc25c9f9e (diff)
downloaddpdk-a6069abe0288371f67fa5dffa81e4ec8b6bcf761.zip
dpdk-a6069abe0288371f67fa5dffa81e4ec8b6bcf761.tar.gz
dpdk-a6069abe0288371f67fa5dffa81e4ec8b6bcf761.tar.xz
ci: exit setup on any error
-e is preferrable so that we can catch errors in the middle of this script. An example is this Travis job [1] that should have errored at the meson install step rather than go to the build step. Adding debug mode as it can help post-mortem. 1: https://travis-ci.com/DPDK/dpdk/jobs/223511683 Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Michael Santana <msantana@redhat.com> Acked-by: Aaron Conole <aconole@redhat.com>
-rwxr-xr-x.ci/linux-setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.ci/linux-setup.sh b/.ci/linux-setup.sh
index a40e62e..dfb9d4a 100755
--- a/.ci/linux-setup.sh
+++ b/.ci/linux-setup.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -xe
# need to install as 'root' since some of the unit tests won't run without it
sudo python3 -m pip install --upgrade meson