Fixing the watchpoint test case to reflect changes in error reporting
llvm-svn: 175845
This commit is contained in:
parent
c9a0ec3e28
commit
fde419277b
|
@ -59,16 +59,12 @@ class WatchpointSetErrorTestCase(TestBase):
|
|||
# 'watchpoint set expression' with '-w' or '-x' specified now needs
|
||||
# an option terminator and a raw expression after that.
|
||||
self.expect("watchpoint set expression -w write --", error=True,
|
||||
startstr = 'error: required argument missing; specify an expression to evaulate into the addres to watch for')
|
||||
startstr = 'error: ')
|
||||
|
||||
# It's an error if the expression did not evaluate to an address.
|
||||
self.expect("watchpoint set expression MyAggregateDataType", error=True,
|
||||
startstr = 'error: expression did not evaluate to an address')
|
||||
|
||||
# Check for missing option terminator '--'.
|
||||
self.expect("watchpoint set expression -w write -x 1 g_char_ptr", error=True,
|
||||
startstr = 'error: did you forget to enter the option terminator string "--"?')
|
||||
|
||||
# Wrong size parameter is an error.
|
||||
self.expect("watchpoint set variable -x -128", error=True,
|
||||
substrs = ['invalid enumeration value'])
|
||||
|
|
Loading…
Reference in New Issue