aboutsummaryrefslogtreecommitdiff
path: root/gprofng/testsuite
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2022-12-21 09:05:43 +0100
committerJan Beulich <jbeulich@suse.com>2022-12-21 09:05:43 +0100
commit6b7d3204b5afa5dd5301702c391ee45fdbb1cbc5 (patch)
treee69feaf3dbaf7e5e5080e1cd184be20507ea6e90 /gprofng/testsuite
parentc63d4862812c79d81b6423a847c9a288e49574a5 (diff)
downloadgdb-6b7d3204b5afa5dd5301702c391ee45fdbb1cbc5.zip
gdb-6b7d3204b5afa5dd5301702c391ee45fdbb1cbc5.tar.gz
gdb-6b7d3204b5afa5dd5301702c391ee45fdbb1cbc5.tar.bz2
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.
Diffstat (limited to 'gprofng/testsuite')
-rw-r--r--gprofng/testsuite/gprofng.display/display.exp7
1 files changed, 7 insertions, 0 deletions
diff --git a/gprofng/testsuite/gprofng.display/display.exp b/gprofng/testsuite/gprofng.display/display.exp
index 237d577..4a18e85 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: