2 // Check that parsing bad commands gives a useful error.
3 // - Syntax error (misplaced ',')
4 // Check directives are in check.txt to prevent dexter reading any embedded
7 // Note: Despite using 'lldb' as the debugger, lldb is not actually required
8 // as the test should finish before lldb would be invoked.
10 // RUN: %dexter_regression_test_build %s -o %t
11 // RUN: not %dexter_base test --binary %t --debugger "lldb" \
12 // RUN: -v -- %s | FileCheck %s --match-full-lines --strict-whitespace
14 // CHECK:parser error:{{.*}}err_syntax.cpp(21): invalid syntax
15 // CHECK:// {{Dex}}ExpectWatchValue(,'a', 3, 3, 3, 3, on_line=0)
21 // DexExpectWatchValue(,'a', 3, 3, 3, 3, on_line=0)