Skip tests on completion and readline when readline lib isn't used
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / filesym.exp
index 5f4311624d5fc8dd249a78b96013e2a9f90ab87a..77e643b645d92a4df1218f22d5c2aa30baef7085 100644 (file)
@@ -22,6 +22,12 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} {
     return -1
 }
 
+if { ![readline_is_used] } {
+    unsupported "completion doesn't work when readline isn't used."
+    return -1
+}
+
+
 # Test completion list for "filesy".  We expect the immediate result to
 # complete to "filesym"; completing again, we expect the symbol name and the
 # filename (in that order).
This page took 0.029601 seconds and 4 git commands to generate.