devtools: fix meson build test to exit on failure
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 12 Mar 2019 10:18:28 +0000 (10:18 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 13 Mar 2019 10:09:55 +0000 (11:09 +0100)
commit5d9176673008d585c707fb353596736601bbc5a3
tree119e00b5fa4df97799d27da10cc5a23629fc63a9
parent218c4e68c1d9bd4a9281bc1dc4d0ab89859083bf
devtools: fix meson build test to exit on failure

When piping the ninja command through cat, we lose the error value from
the call to ninja in the case of failure. This prevents the script from
exiting at the first broken build. Fix this by setting the "pipefail"
shell option.

Fixes: 4bcb9b768604 ("devtools: add verbose option to meson build test")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
devtools/test-meson-builds.sh