- Maintenance script qa.sh:

* Handle librpm == "" and nolibrpm == "".
- Maintenance script qa-remote.sh:
  * Make "Get remote testsuite results" even more verbose.
  * Make hardcoded pattern gdb-testresults-12.1-*.*.rpm more
    generic.
  * Add missing setting of rpm variable in "Getting rpms" case.
- Patches added (backport from trunk):
  * gdb-testsuite-fix-gdb.base-break-idempotent.exp-on-ppc.patch
  * powerpc-fix-gdb.base-watchpoint.exp-on-power-9.patch

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=340
This commit is contained in:
2022-11-11 17:44:10 +00:00
committed by Git OBS Bridge
parent e15cea783d
commit c883ee0252
6 changed files with 274 additions and 8 deletions

View File

@@ -57,20 +57,32 @@ get_item ()
mkdir -p $dir
fi
rpm=$(echo $dir/gdb-testresults-12.1-*.*.rpm)
rpm=$(echo $dir/gdb-testresults-*.*.rpm)
rpm=$(for f in $rpm; do echo $f; done | grep -v nosrc)
if [ ! -f $rpm ]; then
rpm=$(basename $rpm)
if [ "$rpm" = "" ] || [ ! -f "$rpm" ]; then
echo "Getting rpms"
osc getbinaries -q -M testsuite -d $dir $c $arch
rpm=$(echo $dir/gdb-testresults-*.rpm)
rpm=$(for f in $rpm; do echo $f; done | grep -v nosrc)
rpm=$(basename $rpm)
echo "Got rpm: $rpm"
else
echo "Already have rpm: $rpm"
fi
if [ ! -d $pkgs/gdb-testresults.$c.$arch ]; then
(
echo "Extracting rpm: $rpm"
cd $dir
extract $rpm
)
else
echo "Already extracted rpm: $rpm"
fi
if [ -d $dir/usr/share/doc/packages/gdb-testresults ]; then
echo "Renaming"
mkdir $root/binaries-testsuite.$c.$arch
mv \
$dir/usr/share/doc/packages/gdb-testresults \
@@ -78,6 +90,7 @@ get_item ()
fi
if [ -d $root/binaries-testsuite.$c.$arch/gdb-testresults ]; then
echo "Cleaning up"
rm -Rf $dir
fi
}