diff options
author | Andrew Rybchenko <arybchenko@solarflare.com> | 2018-02-07 08:24:00 +0000 |
---|---|---|
committer | Thomas Monjalon <thomas@monjalon.net> | 2018-02-08 22:25:37 +0100 |
commit | 5c753861c399628e522d47533fe26b0aef876209 (patch) | |
tree | fe7de8fafd5b8cbc7ae280b661c8f36edf0120d8 /buildtools | |
parent | 4e4b97b71ca0f25b2b7ceb03d21a100f74fa4512 (diff) | |
download | dpdk-next-eventdev-5c753861c399628e522d47533fe26b0aef876209.zip dpdk-next-eventdev-5c753861c399628e522d47533fe26b0aef876209.tar.gz dpdk-next-eventdev-5c753861c399628e522d47533fe26b0aef876209.tar.xz |
buildtools: output build failure reason to stderr
If build fails because of failed experimental check and stdout is
redirected to /dev/null, it is absolutely unclear why build fails.
Fixes: a4bcd61de82d ("buildtools: add script to check experimental API exports")
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Diffstat (limited to 'buildtools')
-rwxr-xr-x | buildtools/check-experimental-syms.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/buildtools/check-experimental-syms.sh b/buildtools/check-experimental-syms.sh index 7d21de3..5bc8cda 100755 --- a/buildtools/check-experimental-syms.sh +++ b/buildtools/check-experimental-syms.sh @@ -22,9 +22,11 @@ do IN_EXP=$? if [ $IN_TEXT -eq 0 -a $IN_EXP -ne 0 ] then - echo "$SYM is not flagged as experimental" - echo "but is listed in version map" - echo "Please add __rte_experimental to the definition of $SYM" + cat >&2 <<- END_OF_MESSAGE + $SYM is not flagged as experimental + but is listed in version map + Please add __rte_experimental to the definition of $SYM + END_OF_MESSAGE exit 1 fi done |