Skip test `#test_completion_01` when `-complete` MI command is not available.
authorJan Vrany <jan.vrany@fit.cvut.cz>
Mon, 21 Jan 2019 15:44:53 +0000
changeset 141 385e05acdd8c
parent 140 3009b7498176
child 142 dae35d5b3d72
Skip test `#test_completion_01` when `-complete` MI command is not available.
tests/VDBSimpleDebuggerConsoleApplicationTest.st
--- a/tests/VDBSimpleDebuggerConsoleApplicationTest.st	Mon Jan 21 21:14:27 2019 +0000
+++ b/tests/VDBSimpleDebuggerConsoleApplicationTest.st	Mon Jan 21 15:44:53 2019 +0000
@@ -51,6 +51,8 @@
 test_completion_01
     | console consoleI |
 
+    self skipIf: (debugger hasCommand:'complete') not description: 'GDB has support for command line completion'.
+
     console := application consoleView.
     consoleI := console interactor.
     [ console outStream hasData ] whileTrue:[ Delay waitForMilliseconds: 100 ].    
@@ -66,7 +68,8 @@
     self assert: (console list at: console cursorLine) asString = '(gdb) file'.
 
     "Created: / 16-01-2019 / 13:53:06 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 16-01-2019 / 16:27:09 / jv"
+    "Modified: / 21-01-2019 / 09:29:26 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 21-01-2019 / 09:29:40 / jv"
 ! !
 
 !VDBSimpleDebuggerConsoleApplicationTest class methodsFor:'documentation'!