diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml index 53c55d0e1c2482eaded1a9bc4eec4fe586d1e480..700e390027a64a8e9572b2a43e2b86af57ca3c3e 100644 --- a/debian/gitlab-ci.yml +++ b/debian/gitlab-ci.yml @@ -293,18 +293,23 @@ test:focal: test:archlinux: extends: .test_template image: archlinux:latest - # TODO this test does not work yet - when: manual # Do not use the global before_script because it is only for Debian based # distros before_script: - | set -eux + # Enable multilib repository + echo -e "\n[multilib]\nInclude = /etc/pacman.d/mirrorlist" >> /etc/pacman.conf + pacman -Syu --needed --noconfirm --noprogressbar \ base-devel \ git \ + lib32-glibc \ + lib32-mesa \ python \ + python-chardet \ + python-six \ python-tappy \ sudo \ ${NULL+} diff --git a/tests/containers.py b/tests/containers.py index e011a1d5896431784be3895c1d0b4390ceb0680a..fc3c61b10afdcb23dbdf4257403964962c567490 100755 --- a/tests/containers.py +++ b/tests/containers.py @@ -922,12 +922,14 @@ class TestContainers(BaseTest): if os.path.isfile('/usr/bin/locale'): link = os.path.join(tree, 'usr', 'bin', 'locale') target = os.readlink(link) - self.assertEqual(target, '/run/host/usr/bin/locale') + # Might be either /usr/bin/locale or /usr/sbin/locale + self.assertRegex(target, r'^/run/host/usr/') if os.path.isfile('/usr/bin/localedef'): link = os.path.join(tree, 'usr', 'bin', 'localedef') target = os.readlink(link) - self.assertEqual(target, '/run/host/usr/bin/localedef') + # Might be either /usr/bin/localedef or /usr/sbin/localedef + self.assertRegex(target, r'^/run/host/usr/') for ldso, scout_impl in ( (