mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
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.
This commit is contained in:
@ -24,6 +24,13 @@ if {[info exists env(LC_ALL)]} {
|
|||||||
set env(LC_ALL) "C"
|
set env(LC_ALL) "C"
|
||||||
|
|
||||||
set pltf [exec uname -i]
|
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 {
|
switch $pltf {
|
||||||
x86_64 {
|
x86_64 {
|
||||||
# Columns in the table represent:
|
# Columns in the table represent:
|
||||||
|
Reference in New Issue
Block a user