public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: tests/gdb-testsuite-sanity: add config flags relevant to testsuite
@ 2026-06-28 0:00 Michal Kolar
0 siblings, 0 replies; only message in thread
From: Michal Kolar @ 2026-06-28 0:00 UTC (permalink / raw)
To: git-commits
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"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-28 0:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-28 0:00 [rpms/gdb] gdb-17.2-rebase-f44: tests/gdb-testsuite-sanity: add config flags relevant to testsuite Michal Kolar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox