Files
clang-p2996/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/source-root-dir.cpp
Stephen Tozer 45a40c1639 Re-reapply "[Dexter] Remove builder from Dexter"
This patch makes a further attempt to fix the tests broken by the
previous revision by ensuring that the command line for the modified
Dexter tests use -std=gnu++11, in keeping with the old build script.

This reverts commit 5647f2908d.
2023-09-06 15:06:07 +01:00

17 lines
509 B
C++

// This test started failing recently for unknown reasons.
// XFAIL:*
// RUN: %dexter_regression_test_build \
// RUN: -fdebug-prefix-map=%S=/changed %s -o %t
// RUN: %dexter --fail-lt 1.0 -w \
// RUN: --binary %t \
// RUN: --debugger %dexter_regression_test_debugger \
// RUN: --source-root-dir=%S --debugger-use-relative-paths -- %s
#include <stdio.h>
int main() {
int x = 42;
printf("hello world: %d\n", x); // DexLabel('check')
}
// DexExpectWatchValue('x', 42, on_line=ref('check'))