X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Ftestsuite%2Flib%2Ftarget-supports.exp;h=78ceb540853069a3efc453cc6690509dbb3d6fa6;hp=2e91a161eeb84772651e65fe3b82237d15217b7d;hb=c79d5a347d15eb2074a98e36cf279fe7e6d31054;hpb=076de6efd58ba7e7be26f2dc4fca8d81546efdae diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 2e91a161eeb..78ceb540853 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -131,7 +131,7 @@ proc check_visibility_available { what_kind } { global target_triplet # On NetWare, support makes no sense. - if { [string match "*-*-netware*" $target_triplet] } { + if { [istarget *-*-netware*] } { return 0 } @@ -279,6 +279,11 @@ proc check_profiling_available { test_what } { return 0 } + # At present, there is no profiling support on NetWare. + if { [istarget *-*-netware*] } { + return 0 + } + # Now examine the cache variable. if {![info exists profiling_available_saved]} { # Some targets don't have any implementation of __bb_init_func or are