Tom de Vries 3b9ea5ed9e - Patches added (gdb 12 release branch backports):
* gdb-disable-commit-resumed-in-target_kill.patch
  * gdb-fix-assert-when-quitting-gdb-while-a-thread-is-stepping.patch
  * gdb-testsuite-add-new-gdb_attach-to-check-attach-command.patch
  * gdb-testsuite-refactor-gdb.threads-detach-step-over.exp.patch
  * gdb-testsuite-remove-global-declarations-in-gdb.threads-detach-step-over.exp.patch
  * gdbserver-switch-to-right-process-in-find_one_thread.patch  
- Patches removed:
  * gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
- Maintenance script qa.sh:
  * Disable PR26284 kfails.
  * Add PR29841 kfails.
  * Add kfail_powerpc64le_sle12, kfail_s390 and kfail_s390x.
  * Add -s390 and -s390x.
  * Add gdb.base/gdb-rhbz1156192-recursive-dlopen.exp kfail.
  * Add PR26967 kfails.
  * Move PR27027 kfails from kfail_factory to kfail.
  * Add -ppc64le alias for -powerpc64le.
  * Add gdb.threads/interrupt-while-step-over.exp kfail.
  * Add gdb.tui/tui-layout-asm-short-prog.exp kfail.
  * Add unix/-fPIE/-fpie overrides -static kfails.
  * Add gdb.guile/scm-disasm.exp kfail.
  * Add gdb.base/gnu_vector.exp to existing kfail.
  * Add gdb.guile/scm-symtab.exp kfail.
  * Add gdb.base/write_mem.exp kfail.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=344
2022-12-12 15:35:08 +00:00
2018-03-09 16:46:37 +00:00

I. LOCAL QA.


0. Notes.

Note that the configs are hardcoded in the script.  F.i. atm SLE-11 is not
included, because the config is unresolvable on devel:gcc/gdb.  Also Leap
15.2 is not included because of 'remote error: unknown repository type
UNDEFINED"'.

The script tries to keep disk usage low by removing the buildroot after each
build, but that requires sudo rights, so the first thing the script does is
ask for sudo authentication.


1. Cleanup.

Do:
...
$ bash qa-local.sh 1
...


2. Build.

Do:
...
$ bash qa-local.sh 2
...

This builds gdb for each x86_64 config, without running the testsuite.

I did a timing run on my laptop (with 6 configs) and got:
...
real    66m17.689s
user    149m31.925s
sys     12m25.359s
...
so for a dual-core/4-SMT CPU, it's ~1h5m.


3. Build & test.

Do:
...
$ bash qa-local.sh 3
...

This builds gdb and produces test results for each x86_64 config.

I did a timing run on my laptop (with 6 configs) and got:
...
real    285m9.679s
user    683m16.769s
sys     133m58.287s
...
so for a dual-core/4-SMT CPU, it's ~4h45m.

The resulting testlogs (with 6 configs) is 1.4GB.


4. Verify.

Do:
...
$ bash qa-local.sh 4
...

This verifies the test results for each x86_64 config, using the qa.sh script.


5. Cleanup.

Do:
...
$ rm -Rf tmp-qa-local
...
l


I. REMOTE QA.


1. Cleanup.

Do:
...
$ bash qa-remote.sh 1
...


2. Get test results.

Do:
...
$ bash qa-remote.sh 2
...

This downloads the remote test results.


3. Verify.

Do:
...
$ bash qa-remote.sh 3 <m>
...
with m running from 1 to 5.

This verifies the test results, using the qa.sh script.

4. Cleanup.

Do:
...
$ rm -Rf tmp-qa-remote
...
Description
No description provided
Readme 45 MiB
Languages
Shell 75.6%
C 20.5%
Perl 2.1%
Roff 1.8%