summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-11-09 11:36:15 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-11-16 03:12:34 -0500
commit1f0014a852e9b0a1553bc7a29b5844b4a81d950f (patch)
tree93bc1abf615ffbfa69c5394294fa52e2fc5454b9
parenta8e1a75673e9c79a1504f16e87c6bd57488b3fbc (diff)
downloadhaskell-1f0014a852e9b0a1553bc7a29b5844b4a81d950f.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