public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gprofng/testsuite: restrict testing to native configurations
@ 2022-12-21  8:07 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2022-12-21  8:07 UTC (permalink / raw)
  To: bfd-cvs, gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6b7d3204b5afa5dd5301702c391ee45fdbb1cbc5

commit 6b7d3204b5afa5dd5301702c391ee45fdbb1cbc5
Author: Jan Beulich <jbeulich@suse.com>
Date:   Wed Dec 21 09:05:43 2022 +0100

    gprofng/testsuite: restrict testing to native configurations
    
    The binaries involved in testing gprofng are native ones, and hence a
    cross build of binutils won't really test intended functionality. Since
    this testing takes quite a bit of time (typically more than running all
    of binutils, gas, and ld testsuites together), restrict the testing to
    native configurations only.

Diff:
---
 gprofng/testsuite/gprofng.display/display.exp | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gprofng/testsuite/gprofng.display/display.exp b/gprofng/testsuite/gprofng.display/display.exp
index 237d577f004..4a18e852491 100644
--- a/gprofng/testsuite/gprofng.display/display.exp
+++ b/gprofng/testsuite/gprofng.display/display.exp
@@ -24,6 +24,13 @@ if {[info exists env(LC_ALL)]} {
 set env(LC_ALL) "C"
 
 set pltf [exec uname -i]
+
+# Native testing only for now.
+if { ![istarget $pltf-*-*]
+     && (![string match i?86 $pltf] || ![istarget i?86-*-*]) } then {
+    return
+}
+
 switch $pltf {
   x86_64 {
     # Columns in the table represent:

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-21  8:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-21  8:07 [binutils-gdb] gprofng/testsuite: restrict testing to native configurations Jan Beulich

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).