Files
clang-p2996/debuginfo-tests/dexter/feature_tests/commands/penalty/expect_watch_value.cpp
Tom Weaver b6d2212f52 [Dexter] Add support for Windows to regression test suite.
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
2020-03-31 10:18:12 +01:00

21 lines
522 B
C++

// Purpose:
// Check that \DexExpectWatchValue correctly applies a penalty when
// expected values are not found.
//
// UNSUPPORTED: system-darwin
//
//
// RUN: not %dexter_regression_test -- %s | FileCheck %s
// CHECK: expect_watch_value.cpp:
int main()
{
for (int i = 0; i < 3; ++i)
int a = i; // DexLabel('loop')
return 0; // DexLabel('ret')
}
// DexExpectWatchValue('i', '0', '1', '2', on_line='loop')
// DexExpectWatchValue('i', '3', on_line='ret')
// ---------------------^ out of scope