aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-09-02 10:07:05 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-09-02 10:09:53 +0200
commit245462b66ce35dfc5b191d245b3b18b7d035dc92 (patch)
tree39016063e55e2dee38d29423a3d3fdf216afa61f /test
parentd6034e41226edd5b1f9694bd268cde5145a8ce7d (diff)
parentab9c34237ab7b056394e0bd1f7cb131ffd95754c (diff)
downloadbitcoin-245462b66ce35dfc5b191d245b3b18b7d035dc92.tar.xz
Merge bitcoin/bitcoin#22418: release: Remove gitian
ab9c34237ab7b056394e0bd1f7cb131ffd95754c release: remove gitian (fanquake) Pull request description: Note that this doesn't yet touch any glibc back compat related code. ACKs for top commit: laanwj: Code review ACK ab9c34237ab7b056394e0bd1f7cb131ffd95754c Tree-SHA512: 8e2fe3ec1097f54bb11ab9136b43818d90eab5dbb0a663ad6a552966ada4bdb49cc12ff4e66f0ec0ec5400bda5c81f3a3ce70a9ebb6fe1e0db612da9f00a51a7
Diffstat (limited to 'test')
-rwxr-xr-xtest/lint/lint-shell.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/test/lint/lint-shell.sh b/test/lint/lint-shell.sh
index 4dbf5ed28e..73ac583d84 100755
--- a/test/lint/lint-shell.sh
+++ b/test/lint/lint-shell.sh
@@ -14,10 +14,6 @@ disabled=(
SC2086 # Double quote to prevent globbing and word splitting.
SC2162 # read without -r will mangle backslashes.
)
-disabled_gitian=(
- SC2094 # Make sure not to read and write the same file in the same pipeline.
- SC2129 # Consider using { cmd1; cmd2; } >> file instead of individual redirects.
-)
EXIT_CODE=0
@@ -33,22 +29,4 @@ if ! "${SHELLCHECK_CMD[@]}" "$EXCLUDE" $SOURCED_FILES $(git ls-files -- '*.sh' |
EXIT_CODE=1
fi
-if ! command -v yq > /dev/null; then
- echo "Skipping Gitian descriptor scripts checking since yq is not installed."
- exit $EXIT_CODE
-fi
-
-EXCLUDE_GITIAN=${EXCLUDE}",$(IFS=','; echo "${disabled_gitian[*]}")"
-for descriptor in $(git ls-files -- 'contrib/gitian-descriptors/*.yml')
-do
- script=$(basename "$descriptor")
- # Use #!/bin/bash as gitian-builder/bin/gbuild does to complete a script.
- echo "#!/bin/bash" > $script
- yq -r .script "$descriptor" >> $script
- if ! "${SHELLCHECK_CMD[@]}" "$EXCLUDE_GITIAN" $script; then
- EXIT_CODE=1
- fi
- rm $script
-done
-
exit $EXIT_CODE