public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Extend specfile to run testsuites for native-gdbserver and native-extended-gdbserver
@ 2026-06-27 23:58 Sergio Durigan Junior
  0 siblings, 0 replies; only message in thread
From: Sergio Durigan Junior @ 2026-06-27 23:58 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 17183a1d49e2149ae86d49bf22fbeaa635d6f0c9
Author : Sergio Durigan Junior <sergiodj@redhat.com>
Date   : 2018-07-14T16:04:17-04:00
Stats  : +3/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/17183a1d49e2149ae86d49bf22fbeaa635d6f0c9?branch=gdb-17.2-rebase-f44

Log:
Extend specfile to run testsuites for native-gdbserver and native-extended-gdbserver

---
diff --git a/gdb.spec b/gdb.spec
index 467383b..77a99c2 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -733,7 +733,7 @@ gcc -o ./orphanripper %{SOURCE2} -Wall -lutil -ggdb2
     then
       continue
     fi
-    CHECK="$CHECK check//unix/$BI"
+    CHECK="$CHECK check//unix/$BI check//native-gdbserver/$BI check//native-extended-gdbserver/$BI"
   done
   # Do not try -m64 inferiors for -m32 GDB as it cannot handle inferiors larger
   # than itself.
@@ -742,7 +742,7 @@ gcc -o ./orphanripper %{SOURCE2} -Wall -lutil -ggdb2
   RPM_SIZE="$(file ./biarch|sed -n 's/^.*: ELF \(32\|64\)-bit .*$/\1/p')"
   if [ "$RPM_SIZE" != "64" ]
   then
-    CHECK="$(echo " $CHECK "|sed 's# check//unix/-m64 # #')"
+    CHECK="$(echo " $CHECK "|sed 's#check//unix/-m64 check//native-gdbserver/-m64 check//native-extended-gdbserver/-m64# #')"
   fi
 
   # Disable some problematic testcases.
@@ -765,7 +765,7 @@ for t in sum log
 do
   for file in testsuite*/gdb.$t
   do
-    suffix="${file#testsuite.unix.}"
+    suffix="${file#testsuite}"
     suffix="${suffix%/gdb.$t}"
     ln $file gdb-%{_target_platform}$suffix.$t || :
   done

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-27 23:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-27 23:58 [rpms/gdb] gdb-17.2-rebase-f44: Extend specfile to run testsuites for native-gdbserver and native-extended-gdbserver Sergio Durigan Junior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox