From ace7a854faa8010c6ba48f22b5dd1ca4116fe24f Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Mon, 11 Jan 2021 08:18:49 -0500 Subject: [PATCH] fix not also failing if tests failed Signed-off-by: Sebastian Malton --- scripts/integration.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/integration.sh b/scripts/integration.sh index 2443a95bfa..508d36fe0d 100755 --- a/scripts/integration.sh +++ b/scripts/integration.sh @@ -16,13 +16,15 @@ DEBUG=true yarn integration-runner if [ $? -ne 0 ]; then case $1 in mac) - find ~/Library/Logs/Lens -type f -name *.log -exec cat {} \; + find ~/Library/Logs/Lens -type f -name *.log -exec cat >&2 {} \; ;; linux) - find ~/.config/Lens -type f -name *.log -exec cat {} \; + find ~/.config/Lens -type f -name *.log -exec cat >&2 {} \; ;; win) - find %APPDATA%/Lens -type f -name *.log -exec cat {} \; + find %APPDATA%/Lens -type f -name *.log -exec cat >&2 {} \; ;; esac + + exit 1 fi