aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/annotate-symlink.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/annotate-symlink.exp')
-rw-r--r--gdb/testsuite/gdb.base/annotate-symlink.exp7
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/annotate-symlink.exp b/gdb/testsuite/gdb.base/annotate-symlink.exp
index a0f8ed9..7341240 100644
--- a/gdb/testsuite/gdb.base/annotate-symlink.exp
+++ b/gdb/testsuite/gdb.base/annotate-symlink.exp
@@ -15,10 +15,9 @@
standard_testfile realname-expand.c realname-expand-real.c
-if [is_remote host] {
- unsupported "compiling on a remote host does not support a filename with directory."
- return 0
-}
+# Compiling on a remote host does not support a filename with
+# directory.
+require {!is_remote host}
set srcdirabs [file join [pwd] $srcdir]
set srcfilelink [standard_output_file realname-expand-link.c]