+2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
+
+ * gdb.base/complete-empty.exp: Skip tab-completion tests if
+ no readline.
+ * gdb.base/utf8-identifiers.exp: Likewise.
+ * gdb.cp/cpcompletion.exp: Likewise.
+ * gdb.linespec/cpcompletion.exp: Likewise.
+ * gdb.linespec/cpls-abi-tag.exp: Likewise.
+ * gdb.linespec/cpls-ops.exp: Likewise.
+
2018-09-19 Richard Bunt <richard.bunt@arm.com>
Chris January <chris.january@arm.com>
gdb_exit
gdb_start
+# Tests below are about tab-completion, which doesn't work if readline
+# library isn't used. Check it first.
+
+if { ![readline_is_used] } {
+ untested "no tab completion support without readline"
+ return -1
+}
+
# Start of tests.
# Test TAB with no input.
# names getting in the way of completion.
gdb_test_no_output "nosharedlibrary"
+# Tests below are about tab-completion, which doesn't work if readline
+# library isn't used. Check it first.
+
+if { ![readline_is_used] } {
+ untested "no tab completion support without readline"
+ return -1
+}
+
# Test linespec completion.
# A unique completion.
return -1
}
+# Tests below are about tab-completion, which doesn't work if readline
+# library isn't used. Check it first.
+
+if { ![readline_is_used] } {
+ untested "no tab completion support without readline"
+ return -1
+}
+
# Test that completion is restricted by class name (all methods)
test_class_complete Foo "" "complete class methods" \
[list Foo Foofoo get_foo set_foo ~Foo]
return -1
}
+# Tests below are about tab-completion, which doesn't work if readline
+# library isn't used. Check it first.
+
+if { ![readline_is_used] } {
+ untested "no tab completion support without readline"
+ return -1
+}
+
# Disable the completion limit for the whole testcase.
gdb_test_no_output "set max-completions unlimited"
return -1
}
+# Tests below are about tab-completion, which doesn't work if readline
+# library isn't used. Check it first.
+
+if { ![readline_is_used] } {
+ untested "no tab completion support without readline"
+ return -1
+}
+
gdb_test_no_output "set max-completions unlimited"
# Check that the explicit location completer manages to find the next
return -1
}
+# Tests below are about tab-completion, which doesn't work if readline
+# library isn't used. Check it first.
+
+if { ![readline_is_used] } {
+ untested "no tab completion support without readline"
+ return -1
+}
+
gdb_test_no_output "set max-completions unlimited"
# Check that the explicit location completer manages to find the next