summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-11-09 11:36:15 -0500
committerBen Gamari <ben@smart-cactus.org>2021-11-09 17:41:34 -0500
commitc404ac1ee7b2b26bfa72b4f39a0611672a4515ba (patch)
tree5eb7037ea865e8f27e88337c5dc7083281fa4565
parentefe70f55f80509048767513ba84dec2182ac9b3f (diff)
downloadhaskell-c404ac1ee7b2b26bfa72b4f39a0611672a4515ba.tar.gz
gitlab-ci: Fail if dynamic references are found in a static bindist
Previously we called error, which just prints an error, rather than fail, which actually fails.
-rwxr-xr-x.gitlab/ci.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab/ci.sh b/.gitlab/ci.sh
index e76a5d912b..b3ac97aff4 100755
--- a/.gitlab/ci.sh
+++ b/.gitlab/ci.sh
@@ -499,7 +499,7 @@ function test_hadrian() {
fi
done
if [ -n "$bad_execs" ]; then
- error "the following executables contain dynamic-object references: $bad_execs"
+ fail "the following executables contain dynamic-object references: $bad_execs"
fi
fi