Skip to content

Commit 8d9cf76

Browse files
committed
ci: unpin ansi-test to master
Improve runnabilty in more places and readibility of progress. The 'ansi-test' repository doesn't see a lot of updates, but using the latest published 'master' branch will enable more rapid debugging: just beware in comparing test results of CI runners that the version of the ANSI-TEST suite be used may change without warning. In that case, we can repin things. -- mgmt.
1 parent 495556b commit 8d9cf76

1 file changed

Lines changed: 16 additions & 8 deletions

File tree

ci/install-ansi-test.bash

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
#!/usr/bin/env bash
22

3-
pushd ${ABCL_ROOT}/..
3+
uri="https://gitlab.common-lisp.net/ansi-test/ansi-test"
4+
commitish="master"
45

6+
topdir="$(dirname ${ABCL_ROOT:-/tmp}/..)"
7+
if [ ! -d "${topdir}" ]; then
8+
mkdir -p "${topdir}"
9+
fi
10+
11+
pushd "${topdir}" && echo "Cloning <${uri}> under <file://${topdir}>."
512
if [[ ! -r ansi-test ]]; then
6-
git clone https://gitlab.common-lisp.net/ansi-test/ansi-test
13+
git clone "${uri}"
714
else
815
pushd ansi-test
916
if [[ -r .hg ]]; then
@@ -15,11 +22,12 @@ else
1522
fi
1623

1724
pushd ansi-test
18-
# pin known working version
25+
# DEPRECATED pin known working version
1926
# <https://gitlab.common-lisp.net/ansi-test/ansi-test/-/issues/31>
20-
git checkout 1c832cf
21-
git show-ref
22-
git rev-parse
23-
popd
27+
# git checkout 1c832cf
28+
echo "Explicitly updating <file://${topdir}> worktree to <commit:${commitish}>." \
29+
&& git checkout "$commitish"
30+
echo "References to <commit:${commitish}>: " && git show-ref "$commitish"
31+
popd
2432

25-
popd
33+
popd

0 commit comments

Comments
 (0)