Fix linker tests to work with 16-bit targets.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-auto-import / auto-import.exp
index cc3cad71c7a5c0bed42bc43604890644f9428312..62f137105ef90c56510acf76fa8cff8b9ce6af4d 100644 (file)
@@ -1,5 +1,5 @@
 # Expect script for ld-auto-import tests
-#   Copyright (C) 2002-2018 Free Software Foundation, Inc.
+#   Copyright (C) 2002-2020 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -67,7 +67,7 @@ if [istarget *-pc-mingw*] {
 }
 
 # No compiler, no test.
-if { [which $CC] == 0 } {
+if { ![check_compiler_available] } {
     untested "Auto import test (compiler not found)"
     return
 }
This page took 0.026822 seconds and 4 git commands to generate.