]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fmf: Drop support for dist-git-source: true
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 19 Mar 2025 11:36:20 +0000 (12:36 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 19 Mar 2025 12:01:24 +0000 (13:01 +0100)
In preparation for moving the fmf stuff to the fedora spec repo instead
of maintaining it upstream, let's drop support for dist-git-source: true
which won't be needed anymore when we move the fmf stuff to the Fedora
spec repository.

test/fmf/integration-tests/test.sh

index 7e7e1130fc13e9df03d16f6972671b1020e66c8b..e57a03026e3494267698885980d2ea23ee126bd5 100755 (executable)
@@ -17,28 +17,7 @@ echo "Clock source: $(cat /sys/devices/system/clocksource/clocksource0/current_c
 sysctl fs.inotify.max_user_watches=65536 || true
 sysctl fs.inotify.max_user_instances=1024 || true
 
-# Allow running the integration tests downstream in dist-git with something like
-# the following snippet which makes the dist-git sources available in $TMT_SOURCE_DIR:
-#
-# summary: systemd Fedora test suite
-# discover:
-#   how: fmf
-#   dist-git-source: true
-#   dist-git-install-builddeps: false
-# prepare:
-#   - name: systemd
-#     how: install
-#     exclude:
-#       - systemd-standalone-.*
-# execute:
-#   how: tmt
-
-shopt -s extglob
-
-if [[ -n "${TMT_SOURCE_DIR:-}" ]]; then
-    # Match either directories ending with branch names (e.g. systemd-fmf) or releases (e.g systemd-257.1).
-    pushd "$TMT_SOURCE_DIR"/systemd-+([0-9a-z.~])/
-elif [[ -n "${PACKIT_TARGET_URL:-}" ]]; then
+if [[ -n "${PACKIT_TARGET_URL:-}" ]]; then
     # Prepare systemd source tree
     git clone "$PACKIT_TARGET_URL" systemd --branch "$PACKIT_TARGET_BRANCH"
     pushd systemd