public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Kolar <mkolar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: tests/gdb-testsuite-sanity: add config flags relevant to testsuite
Date: Sun, 28 Jun 2026 00:00:28 GMT	[thread overview]
Message-ID: <178260482856.1.16222364304983638236.rpms-gdb-dac5d9920c0d@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : dac5d9920c0d78084e48727a746f2d53b46e7320
Author : Michal Kolar <mkolar@redhat.com>
Date   : 2021-12-15T16:24:38+00:00
Stats  : +2/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/dac5d9920c0d78084e48727a746f2d53b46e7320?branch=gdb-17.2-rebase-f44

Log:
tests/gdb-testsuite-sanity: add config flags relevant to testsuite

---
diff --git a/tests/gdb-testsuite-sanity/runtest.sh b/tests/gdb-testsuite-sanity/runtest.sh
index 0a17d03..b34d5d4 100755
--- a/tests/gdb-testsuite-sanity/runtest.sh
+++ b/tests/gdb-testsuite-sanity/runtest.sh
@@ -75,8 +75,9 @@ rlJournalStart
       rlRun "su -c 'bash ./configure &>$TmpDir/configure-gnulib.log' $BUILD_USER"
       rlRun "rlFileSubmit $TmpDir/configure-gnulib.log configure-gnulib.log"
     fi
+    rlRun "configure_flags=\$(rpmspec -D \"_topdir $TmpDir\" -P $TmpDir/SPECS/*.spec | grep -o -E '\-\-(prefix|with\-gdb\-datadir|with\-separate\-debug\-dir|with\-python)=\S+' | tr '\n' ' ')"
     rlRun "cd $TmpDir/BUILD/gdb-*/gdb"
-    rlRun "su -c './configure &>$TmpDir/configure.log' $BUILD_USER"
+    rlRun "su -c './configure $configure_flags &>$TmpDir/configure.log' $BUILD_USER"
     rlRun "rlFileSubmit $TmpDir/configure.log configure.log"
     rlRun "DATADIR=`gdb -ex 'show data-directory' -batch | grep -o -E '/[^\"]+'`"
     rlRun "mv data-directory data-directory.orig"

                 reply	other threads:[~2026-06-28  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178260482856.1.16222364304983638236.rpms-gdb-dac5d9920c0d@fedoraproject.org \
    --to=mkolar@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox