internal/rosa: run wayland tests
All checks were successful
Test / Create distribution (push) Successful in 49s
Test / Sandbox (push) Successful in 2m47s
Test / Hakurei (push) Successful in 3m59s
Test / ShareFS (push) Successful in 3m59s
Test / Hpkg (push) Successful in 4m40s
Test / Sandbox (race detector) (push) Successful in 5m5s
Test / Hakurei (race detector) (push) Successful in 6m9s
Test / Flake checks (push) Successful in 1m38s

Broken test is disabled for now.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-01-26 06:39:45 +09:00
parent 504f5d28fe
commit 122cfbf63a

View File

@@ -18,6 +18,10 @@ func (t Toolchain) newWayland() pkg.Artifact {
t.Load(Libexpat), t.Load(Libexpat),
t.Load(Libxml2), t.Load(Libxml2),
}, nil, nil, ` }, nil, nil, `
cd /usr/src/wayland
chmod +w tests tests/sanity-test.c
echo 'int main(){}' > tests/sanity-test.c
cd "$(mktemp -d)" cd "$(mktemp -d)"
meson setup \ meson setup \
--reconfigure \ --reconfigure \
@@ -25,11 +29,13 @@ meson setup \
--prefix=/system \ --prefix=/system \
--prefer-static \ --prefer-static \
-Ddocumentation=false \ -Ddocumentation=false \
-Dtests=true \
. /usr/src/wayland . /usr/src/wayland
meson compile meson compile
meson test
meson install \ meson install \
--destdir=/work --destdir=/work
`, pkg.Path(AbsUsrSrc.Append("wayland"), false, pkg.NewHTTPGetTar( `, pkg.Path(AbsUsrSrc.Append("wayland"), true, pkg.NewHTTPGetTar(
nil, "https://gitlab.freedesktop.org/wayland/wayland/"+ nil, "https://gitlab.freedesktop.org/wayland/wayland/"+
"-/archive/"+version+"/wayland-"+version+".tar.bz2", "-/archive/"+version+"/wayland-"+version+".tar.bz2",
mustDecode(checksum), mustDecode(checksum),