SHA256
1
0
forked from pool/gdb

- Re-enable testing all test-cases, undoing accidental change in

previous commit.
- Add --with=for_chroot.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=348
This commit is contained in:
Tom de Vries 2023-03-02 08:37:10 +00:00 committed by Git OBS Bridge
parent fc4d8845bb
commit e2ff531bf0
2 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 2 08:28:32 UTC 2023 - Tom de Vries <tdevries@suse.com>
- Re-enable testing all test-cases, undoing accidental change in
previous commit.
- Add --with=for_chroot.
-------------------------------------------------------------------
Thu Feb 16 10:57:10 UTC 2023 - Tom de Vries <tdevries@suse.com>

View File

@ -20,6 +20,7 @@
%define flavor @BUILD_FLAVOR@%{nil}
%bcond_with ringdisabled
%bcond_with for_chroot
%if "%flavor" == "testsuite"
%if %{with ringdisabled}
@ -1201,8 +1202,15 @@ $CC -o ./orphanripper %{SOURCE2} -Wall -lutil -ggdb2
CHECK="$(echo $CHECK | sed 's#check//unix/[^ ]*#& &/-fPIE/-pie#g')"
fi
#./orphanripper make %{?_smp_mflags} -k $CHECK || :
./orphanripper make %{?_smp_mflags} -k $CHECK RUNTESTFLAGS=gdb.python/py-record-btrace.exp
%if %{with for_chroot}
# When we want to chroot into a local osc build and run a test-case, we
# need -M testsuite to add all the buildrequires, but there's no need
# to run the testsuite. Instead, fail %check to make sure %clean doesn't
# remove buildroot.
false
%else
./orphanripper make %{?_smp_mflags} -k $CHECK || :
%endif
)
for t in sum log
do