Use better test for usable compiler in ld testsuite.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-mn10300 / mn10300.exp
index 1bbe2972161d4bc4f8f9a99eada5fea52659c0ab..b78ef55965d2d7f842bcf5075b91a7967069c5b8 100644 (file)
@@ -1,5 +1,5 @@
 # Expect script for ld-mn10300 tests
-#   Copyright (C) 2007-2018 Free Software Foundation, Inc.
+#   Copyright (C) 2007-2019 Free Software Foundation, Inc.
 #
 # This file is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -134,7 +134,7 @@ proc i126256-test { } {
     set tmpdir tmpdir
     set testname "Seg fault whilst linking one shared library into another when relaxation is enabled."
 
-    if {![is_remote host] && [which $CC] == 0} then {
+    if { ![check_compiler_available] } then {
        return
     }
 
This page took 0.023631 seconds and 4 git commands to generate.