From: Andrew Burgess <aburgess@redhat.com>
To: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>, Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org, Simon Marchi <simark@simark.ca>
Subject: Re: [PATCH] Skip gdb.dap/pause.exp on Solaris [PR34548]
Date: Mon, 24 Aug 2026 10:42:20 +0100 [thread overview]
Message-ID: <874igj26tf.fsf@redhat.com> (raw)
In-Reply-To: <yddecfpgaxp.fsf@CeBiTec.Uni-Bielefeld.DE>
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
> Hi Tom,
>
>>>>>>> "Rainer" == Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
>>
>> Rainer> As detailed in PR PR dap/34548, the gdb.dap/pause.exp test runs
>> Rainer> indefinitely on Solaris. To allow make check to finish, it needs to be
>> Rainer> terminated manually.
>>
>> Rainer> To avoid this, this patch skips the test.
>>
>> Rainer> Tested on x86_64-pc-solaris2.11, sparcv9-sun-solaris2.11, and
>> Rainer> x86_64-pc-linux-gnu.
>>
>> Rainer> Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=34548
>>
>> Rainer> Ok for trunk?
>>
>> This is fine, but in the bug you mentioned other reports about target
>> async not working.
>
> not actually reports, just ca. 100 instances of the
>
> Asynchronous execution not supported on this target.
>
> message in the full testsuite log. Some of them already turn the tests
> UNSUPPORTED, while others cause the tests to FAIL.
>
>> So maybe DAP testing should be entirely disabled for Solaris?
>
> Like just returning 0 from allow_dap_tests on Solaris? Or doing so for
> all targets lacking async support?
I'd suggest adding:
# Return true for targets that support target async,
# otherwise return false.
proc supports_target_async {} {
# ...
}
then return 0 from allow_dap_tests for any target that returns false
from the above. That would seem better than just having a selective fix
in the pause.exp file.
>
> Here's a breakdown of gdb.dap results on Solaris:
>
> 8 ERROR
> 11 FAIL
> 713 PASS
> 8 PATH
> 8 UNRESOLVED
> 2 UNSUPPORTED
>
> I can't tell if it's still useful this way.
I haven't checked by a lot of these passes are going to be general
boiler plate stuff. If DAP support is known to require target async
then my personal feeling is that we'd be better just skipping those
tests on Solaris. There's plenty of testing done on other targets where
target async is supported.
>
>> Rainer> This might also be a candidate for the gdb-18 branch.
>>
>> It's fine by me.
>
> Thanks. I'll way for approval from a release manager then.
It might be worth getting the above changes made first. If you don't
have time then let me know and I'll take care of it.
Thanks,
Andrew
next prev parent reply other threads:[~2026-08-24 9:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-20 14:18 Rainer Orth
2026-08-21 14:27 ` Tom Tromey
2026-08-22 20:25 ` Rainer Orth
2026-08-24 9:42 ` Andrew Burgess [this message]
2026-08-25 8:19 ` Rainer Orth
2026-08-25 8:22 ` Rainer Orth
2026-08-27 15:42 ` Tom Tromey
2026-08-28 8:49 ` [PATCH v2] Require async support for DAP tests [PR34548] Rainer Orth
2026-08-27 18:59 ` [PATCH] Skip gdb.dap/pauseR.exp on Solaris [PR34548] Andrew Burgess
2026-08-28 8:52 ` Rainer Orth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874igj26tf.fsf@redhat.com \
--to=aburgess@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=ro@CeBiTec.Uni-Bielefeld.DE \
--cc=simark@simark.ca \
--cc=tom@tromey.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox