Skip tests on completion and readline when readline lib isn't used
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / readline.exp
index 3c7d4c1cb08bf2640d4508f9eef2a5a9cbc3aebb..ef7fa130c80688c71f406fc82f663eab9cbdc442 100644 (file)
@@ -145,6 +145,11 @@ proc operate_and_get_next {name args} {
 gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
 
+if { ![readline_is_used] } {
+    unsupported "readline isn't used."
+    return -1
+}
+
 set oldtimeout1 $timeout
 set timeout 30
 
This page took 0.026334 seconds and 4 git commands to generate.