This patch addresses the issue of the regression suite not running on windows hardware. It changes the following things: * add new dexter regression suite command to lit.cfg.py that makes use of the clang-cl_vs2015 and dbgend builder and debuggers. * sprinkle the new regressionsuite command through the feature and tool tests that require them. * mark certain problem tests on windows * [revert fix] fixed darwin regression test failures by adding unsupported line for system-darwin to command tests. There's a couple of tests that fail (or pass) in unexpected ways on Windows. Problem tests are both the penalty and perfect expect_watch_type.cpp tests. Type information reporting parity is not possible a this time in dexter due to the nature of how different debuggers report type information back to their users. reviewers: Orlando Differential Revision: https://reviews.llvm.org/D76609
26 lines
533 B
C++
26 lines
533 B
C++
// Purpose:
|
|
// Check that \DexExpectStepKind correctly applies a penalty when
|
|
// unexpected step kinds are encountered.
|
|
//
|
|
// UNSUPPORTED: system-darwin
|
|
//
|
|
// RUN: not %dexter_regression_test -- %s | FileCheck %s
|
|
// CHECK: expect_step_kinds.cpp:
|
|
|
|
int abs(int i){
|
|
return i < 0? i * -1: i;
|
|
}
|
|
|
|
int main()
|
|
{
|
|
volatile int x = 2;
|
|
for (int i = 0; i < x; ++i) {
|
|
abs(i);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
// DexExpectStepKind('FUNC', 5)
|
|
// DexExpectStepKind('FUNC_EXTERNAL', 2)
|
|
// DexExpectStepKind('VERTICAL_BACKWARD', 2)
|