Tom de Vries 7cb3ecbb8b - Patches added (manual import from fedora rawhide @ 52a4dab):
* gdb-rhbz1773651-gdb-index-internal-error.patch
- Patches added (backport from master):
  * gdb-support-rseq-auxvs.patch
  * gdb-symtab-fix-line-number-of-static-const-class-mem.patch
  * gdb-symtab-fix-too-many-symbols-in-gdbpy_lookup_stat.patch
  * gdb-symtab-handle-pu-in-iterate_over_some_symtabs.patch
  * gdb-symtab-work-around-pr-gas-29517.patch
  * gdb-testsuite-add-kfail-for-pr-ada-30908.patch
  * gdb-testsuite-add-xfail-for-gdb-29965-in-gdb.threads.patch
  * gdb-testsuite-fix-gdb.ada-mi_task_arg.exp-with-newer.patch
  * gdb-testsuite-fix-gdb.arch-i386-signal.exp-on-x86_64.patch
  * gdb-testsuite-fix-gdb.cp-m-static.exp-regression-on-.patch
  * gdb-testsuite-fix-gdb.dwarf2-nullptr_t.exp-with-cc-w.patch
  * gdb-testsuite-fix-regexps-in-gdb.base-step-over-sysc.patch
  * gdb-symtab-find-main-language-without-symtab-expansi.patch
  * gdb-testsuite-add-wait-for-index-cache-in-gdb.dwarf2.patch
- Patches moved (from "Backport from gdb-patches" to
  "Backports from master, available in next release"):
  * gdb-cli-handle-pending-c-after-rl_callback_read_char.patch
  * gdb-testsuite-add-have_host_locale.patch
- Maintenance script qa.sh:
  * Remove PR28463, PR28108, PR29247 and PR29160 kfails.
  * Remove PR30540, PR30908, PR29965 kfails.
  * Remove gdb.ada/mi_task_arg.exp kfail.
- Limit "Suggests: %{python}-Pygments" to SLE-15 and later.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=365
2023-10-26 08:58:08 +00:00
2023-04-12 22:28:11 +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.1%
C 21%
Perl 2.1%
Roff 1.8%