aboutsummaryrefslogtreecommitdiff
path: root/gprofng
diff options
context:
space:
mode:
Diffstat (limited to 'gprofng')
-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: