From 1cc56ce2b833ac63576856617023e62a7f865c2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Le=20Barbier?= Date: Fri, 14 Jun 2024 18:07:21 +0200 Subject: [PATCH] Ensure that ports requiring privileges are installed properly --- install_macports | 2 +- testsuite/run-testsuite-on-macos-11.yaml | 1 + testsuite/run-testsuite-on-macos-12.yaml | 7 +++++++ testsuite/run-testsuite-on-macos-13.yaml | 1 + testsuite/run-testsuite-on-macos-14.yaml | 2 ++ 5 files changed, 12 insertions(+), 1 deletion(-) diff --git a/install_macports b/install_macports index 8c2d220..7422ea1 100755 --- a/install_macports +++ b/install_macports @@ -164,7 +164,7 @@ fetch_and_install_package() install_ports() { - ports_document "$1" | xargs -J '%' port install '%' + ports_document "$1" | xargs -J '%' sudo port install '%' } experimental() diff --git a/testsuite/run-testsuite-on-macos-11.yaml b/testsuite/run-testsuite-on-macos-11.yaml index 35f1204..98f96bc 100644 --- a/testsuite/run-testsuite-on-macos-11.yaml +++ b/testsuite/run-testsuite-on-macos-11.yaml @@ -11,3 +11,4 @@ ports: select: [ tcl, universal ] - name: gmp select: native + - name: dbus diff --git a/testsuite/run-testsuite-on-macos-12.yaml b/testsuite/run-testsuite-on-macos-12.yaml index f763fb8..98f96bc 100644 --- a/testsuite/run-testsuite-on-macos-12.yaml +++ b/testsuite/run-testsuite-on-macos-12.yaml @@ -5,3 +5,10 @@ variants: - aqua - metal deselect: x11 +ports: + - name: db48 + deselect: [ java ] + select: [ tcl, universal ] + - name: gmp + select: native + - name: dbus diff --git a/testsuite/run-testsuite-on-macos-13.yaml b/testsuite/run-testsuite-on-macos-13.yaml index 35f1204..98f96bc 100644 --- a/testsuite/run-testsuite-on-macos-13.yaml +++ b/testsuite/run-testsuite-on-macos-13.yaml @@ -11,3 +11,4 @@ ports: select: [ tcl, universal ] - name: gmp select: native + - name: dbus diff --git a/testsuite/run-testsuite-on-macos-14.yaml b/testsuite/run-testsuite-on-macos-14.yaml index 35f1204..45590cb 100644 --- a/testsuite/run-testsuite-on-macos-14.yaml +++ b/testsuite/run-testsuite-on-macos-14.yaml @@ -11,3 +11,5 @@ ports: select: [ tcl, universal ] - name: gmp select: native + - name: dbus +