cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/source-root-dir.cpp
raw| 1 | // This test started failing recently for unknown reasons. |
| 2 | // XFAIL:* |
| 3 | // RUN: %dexter_regression_test_cxx_build \ |
| 4 | // RUN: -fdebug-prefix-map=%S=/changed %s -o %t |
| 5 | // RUN: %dexter_regression_test_run \ |
| 6 | // RUN: --binary %t --source-root-dir=%S --debugger-use-relative-paths -- %s |
| 7 | |
| 8 | #include <stdio.h> |
| 9 | int main() { |
| 10 | int x = 42; |
| 11 | printf("hello world: %d\n", x); // DexLabel('check') |
| 12 | } |
| 13 | |
| 14 | // DexExpectWatchValue('x', 42, on_line=ref('check')) |