mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
tests: Fix guix-build-branch.sh.
* tests/guix-build-branch.sh: Use main branch instead of master after move of guile-gcrypt to codeberg. Merges guix/guix!6832 Change-Id: I6699cc20440a05d733d7d2bc93d820ca3a162e30 Signed-off-by: Cayetano Santos <csantosb@inventati.org>
This commit is contained in:
committed by
Cayetano Santos
parent
1da8766ebc
commit
7e355ddb3a
@@ -32,19 +32,19 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
orig_drv="`guix build guile-gcrypt -d`"
|
orig_drv="`guix build guile-gcrypt -d`"
|
||||||
latest_drv="`guix build guile-gcrypt --with-branch=guile-gcrypt=master -d`"
|
latest_drv="`guix build guile-gcrypt --with-branch=guile-gcrypt=main -d`"
|
||||||
test -n "$latest_drv"
|
test -n "$latest_drv"
|
||||||
test "$orig_drv" != "$latest_drv"
|
test "$orig_drv" != "$latest_drv"
|
||||||
|
|
||||||
# FIXME: '-S' currently doesn't work with non-derivation source.
|
# FIXME: '-S' currently doesn't work with non-derivation source.
|
||||||
# checkout="`guix build guile-gcrypt --with-branch=guile-gcrypt=master -S`"
|
# checkout="`guix build guile-gcrypt --with-branch=guile-gcrypt=main -S`"
|
||||||
checkout="`guix gc --references "$latest_drv" | grep guile-gcrypt | grep -v -E '(-builder|\.drv)'`"
|
checkout="`guix gc --references "$latest_drv" | grep guile-gcrypt | grep -v -E '(-builder|\.drv)'`"
|
||||||
test -d "$checkout"
|
test -d "$checkout"
|
||||||
test -f "$checkout/COPYING"
|
test -f "$checkout/COPYING"
|
||||||
|
|
||||||
orig_drv="`guix build guix -d`"
|
orig_drv="`guix build guix -d`"
|
||||||
latest_drv="`guix build guix --with-branch=guile-gcrypt=master -d`"
|
latest_drv="`guix build guix --with-branch=guile-gcrypt=main -d`"
|
||||||
guix gc -R "$latest_drv" | grep guile-gcrypt-git.master
|
guix gc -R "$latest_drv" | grep guile-gcrypt-git.main
|
||||||
test "$orig_drv" != "$latest_drv"
|
test "$orig_drv" != "$latest_drv"
|
||||||
|
|
||||||
v0_1_0_drv="`guix build guix --with-commit=guile-gcrypt=9e3eacdec1d -d`"
|
v0_1_0_drv="`guix build guix --with-commit=guile-gcrypt=9e3eacdec1d -d`"
|
||||||
|
|||||||
Reference in New Issue
Block a user