Update dexter tests to use the new line label reference syntax introduced in D101147. Updated with: https://gist.github.com/OCHyams/8255efe7757cac266440ed2ba55f1442 Reviewed By: chrisjackson, jmorse Differential Revision: https://reviews.llvm.org/D101148
18 lines
448 B
C++
18 lines
448 B
C++
// REQUIRES: lldb
|
|
// UNSUPPORTED: system-windows
|
|
//
|
|
// Purpose:
|
|
// Check that the optional keyword argument 'on_line' makes a \DexLabel label
|
|
// that line instead of the line the command is found on.
|
|
//
|
|
// RUN: %dexter_regression_test -- %s | FileCheck %s
|
|
// CHECK: label_another_line.cpp: (1.0000)
|
|
|
|
int main() {
|
|
int result = 0;
|
|
return result;
|
|
}
|
|
|
|
// DexLabel('test', on_line=13)
|
|
// DexExpectWatchValue('result', '0', on_line=ref('test'))
|