public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Add functionality to disable test for specific architecture
@ 2023-02-23 14:18 Stephan Rohr
  2023-02-23 14:18 ` [PATCH 1/1] gdb: " Stephan Rohr
  0 siblings, 1 reply; 4+ messages in thread
From: Stephan Rohr @ 2023-02-23 14:18 UTC (permalink / raw)
  To: gdb-patches

From: "Rohr, Stephan" <stephan.rohr@intel.com>

Hi all,

the proposed patch adds functionality to disable a test for an architecture
as specified by the user.  The current 'register_test_foreach_arch'
implementation skips all tests if the architecture is listed inside the
'skip_arch' function.  However, if the user wants to skip a limited set of
tests for a given architecture, this is currently not supported by the
interface.  The proposed patch extends the 'register_test_foreach_arch'
interface and allows the user to provide a set of architectures for which the
test shall not be executed, e.g.,

  selftests::register_test_foreach_arch ("test_name",
                                         function_name,
                                         std::set<std::string> ({"arch"}));


I tested this patch with the following targets:
  * unix
  * unix/-m32
  * native-gdbserver
  * native-extended-gdbserver

No regressions are identified.

Rohr, Stephan (1):
  gdb: Add functionality to disable test for specific architecture

 gdb/selftest-arch.c | 11 ++++++++---
 gdb/selftest-arch.h |  5 ++++-
 2 files changed, 12 insertions(+), 4 deletions(-)

-- 
2.25.1

Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de>
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva  
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-01  7:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-23 14:18 [PATCH 0/1] Add functionality to disable test for specific architecture Stephan Rohr
2023-02-23 14:18 ` [PATCH 1/1] gdb: " Stephan Rohr
2023-02-23 17:51   ` Andrew Burgess
2023-03-01  7:42     ` Rohr, Stephan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).