-# Copyright 2015-2016 Free Software Foundation, Inc.
+# Copyright 2015-2018 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Multiple inferiors are needed, therefore both native and extended
# gdbserver modes are supported. Only non-extended gdbserver is not
# supported.
-if [target_info exists use_gdb_stub] {
- untested ${testfile}.exp
+if [use_gdb_stub] {
+ untested "using gdb stub"
return
}