[all-commits] [llvm/llvm-project] d85cc0: [lldb] Add expect_var_path to test variable path r...
    Raphael Isemann via All-commits 
    all-commits at lists.llvm.org
       
    Thu Nov 12 07:15:28 PST 2020
    
    
  
  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d85cc03c9c4cc44c0281320558abc440575ae1d4
      https://github.com/llvm/llvm-project/commit/d85cc03c9c4cc44c0281320558abc440575ae1d4
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2020-11-12 (Thu, 12 Nov 2020)
  Changed paths:
    M lldb/packages/Python/lldbsuite/test/lldbtest.py
    M lldb/test/API/commands/process/launch-with-shellexpand/TestLaunchWithShellExpand.py
    M lldb/test/API/functionalities/archives/TestBSDArchives.py
    M lldb/test/API/lang/cpp/wchar_t/TestCxxWCharT.py
  Log Message:
  -----------
  [lldb] Add expect_var_path to test variable path results
This adds `expect_var_path` to test variable paths so we no longer have to
use `frame var` and find substrs in the command output. The behaviour
is identical with `expect_expr` (and it also uses the same checking backend),
but it instead calls `GetValueForVariablePath` to evaluate the string as a variable
path.
Also rewrites a few of the tests that previously used `frame variable` to use
`expect_var_path`.
Reviewed By: labath
Differential Revision: https://reviews.llvm.org/D90450
    
    
More information about the All-commits
mailing list