From 39db0f6213d8bd0a729cc0b5f9b28131e96861ee Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 28 May 2015 16:06:48 +0000 Subject: Add a comment explaining the eCommandRequiresTarget test llvm.org/pr23686 llvm-svn: 238438 --- lldb/test/functionalities/command_script/TestCommandScript.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/test/functionalities/command_script/TestCommandScript.py') diff --git a/lldb/test/functionalities/command_script/TestCommandScript.py b/lldb/test/functionalities/command_script/TestCommandScript.py index d4210b44f90..61685d833ec 100644 --- a/lldb/test/functionalities/command_script/TestCommandScript.py +++ b/lldb/test/functionalities/command_script/TestCommandScript.py @@ -25,6 +25,8 @@ class CmdPythonTestCase(TestBase): def pycmd_tests (self): self.runCmd("command source py_import") + # Verify command that specifies eCommandRequiresTarget returns failure + # without a target. self.expect('targetname', substrs = ['a.out'], matching=False, error=True) -- cgit v1.2.3