1 | // The dbgeng driver doesn't support --target-run-args yet. |
2 | // UNSUPPORTED: system-windows |
3 | // |
4 | // RUN: %dexter_regression_test_build %s -o %t |
5 | // RUN: %dexter_regression_test_run --binary %t --target-run-args "a b 'c d'" -- %s | FileCheck %s |
6 | // CHECK: target_run_args_with_command.c: |
7 | |
8 | int main(int argc, const char **argv) { |
9 | if (argc == 6) |
10 | return 0; // DexLabel('retline') |
11 | |
12 | return 1; // DexUnreachable() |
13 | } |
14 | |
15 | // DexCommandLine(['e', 'f']) |
16 | // DexExpectWatchValue('argc', '6', on_line=ref('retline')) |
17 | // DexExpectWatchValue('argv[1][0]', "'e'", on_line=ref('retline')) |
18 | |