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: