From: Michel Dänzer Date: Wed, 12 Apr 2023 09:26:07 +0000 (+0200) Subject: ci: Use set -e in frontend compiler wrapper scripts. X-Git-Tag: upstream/23.3.3~9971 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=21b190bf44e9aef26b2e1a8107d09452532907c0;p=platform%2Fupstream%2Fmesa.git ci: Use set -e in frontend compiler wrapper scripts. I doubt the shebang line in the backend script has any effect now, since the frontend scripts just source it directly. v2: * Use "set -e" instead of adding -e to shebang (Eric Engestrom) v3: * Apply to the clang wrapper scripts as well (Eric Engestrom) Part-of: --- diff --git a/.gitlab-ci/build/compiler-wrapper-clang++.sh b/.gitlab-ci/build/compiler-wrapper-clang++.sh index 69c28bf..cf3cd3f 100755 --- a/.gitlab-ci/build/compiler-wrapper-clang++.sh +++ b/.gitlab-ci/build/compiler-wrapper-clang++.sh @@ -1,3 +1,6 @@ #!/bin/sh + +set -e + _COMPILER=clang++ . compiler-wrapper.sh diff --git a/.gitlab-ci/build/compiler-wrapper-clang.sh b/.gitlab-ci/build/compiler-wrapper-clang.sh index a4e119b..99cf0cb 100755 --- a/.gitlab-ci/build/compiler-wrapper-clang.sh +++ b/.gitlab-ci/build/compiler-wrapper-clang.sh @@ -1,3 +1,6 @@ #!/bin/sh + +set -e + _COMPILER=clang . compiler-wrapper.sh diff --git a/.gitlab-ci/build/compiler-wrapper-g++.sh b/.gitlab-ci/build/compiler-wrapper-g++.sh index a0bfadb..d045162 100755 --- a/.gitlab-ci/build/compiler-wrapper-g++.sh +++ b/.gitlab-ci/build/compiler-wrapper-g++.sh @@ -1,3 +1,6 @@ #!/bin/sh + +set -e + _COMPILER=g++ . compiler-wrapper.sh diff --git a/.gitlab-ci/build/compiler-wrapper-gcc.sh b/.gitlab-ci/build/compiler-wrapper-gcc.sh index e9c0d15..ef0f8b8 100755 --- a/.gitlab-ci/build/compiler-wrapper-gcc.sh +++ b/.gitlab-ci/build/compiler-wrapper-gcc.sh @@ -1,3 +1,6 @@ #!/bin/sh + +set -e + _COMPILER=gcc . compiler-wrapper.sh