Skip to content

Commit 41a55f2

Browse files
Alexander Kiselevclaude
andcommitted
fix: Use relative paths in test scenarios for correct resolution
The test runner resolves program paths relative to the scenario file directory. Changed all paths from "tests/..." to "../..." format so they resolve correctly. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 421e266 commit 41a55f2

24 files changed

Lines changed: 24 additions & 24 deletions

tests/scenarios/attach_process_c.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ setup:
1515

1616
target:
1717
# Attach mode uses pid_file field to read PID from setup step
18-
program: "tests/fixtures/test_attach_c"
18+
program: "../fixtures/test_attach_c"
1919
mode: "attach"
2020
pid_file: "/tmp/attach_pid.txt"
2121
adapter: "lldb"

tests/scenarios/breakpoint_management_c.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ setup:
88
- shell: "gcc -g tests/fixtures/simple.c -o tests/fixtures/test_simple_c"
99

1010
target:
11-
program: "tests/fixtures/test_simple_c"
11+
program: "../fixtures/test_simple_c"
1212
args: []
1313
stop_on_entry: true
1414

tests/scenarios/complex_verification.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ setup:
1010

1111
# Debug target configuration
1212
target:
13-
program: "tests/fixtures/test_simple_c"
13+
program: "../fixtures/test_simple_c"
1414
args: []
1515
stop_on_entry: true
1616

tests/scenarios/conditional_breakpoint_js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: "JavaScript Conditional Breakpoint Test"
55
description: "Verifies conditional breakpoints stop only when condition is true"
66

77
target:
8-
program: "tests/fixtures/simple.js"
8+
program: "../fixtures/simple.js"
99
args: []
1010
adapter: "js-debug"
1111
stop_on_entry: true

tests/scenarios/conditional_breakpoint_py.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: "Python Conditional Breakpoint Test"
55
description: "Verifies conditional breakpoints stop only when condition is true"
66

77
target:
8-
program: "tests/fixtures/simple.py"
8+
program: "../fixtures/simple.py"
99
args: []
1010
adapter: "python"
1111
stop_on_entry: true

tests/scenarios/error_bad_expression_c.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ setup:
88
- shell: "gcc -g tests/fixtures/simple.c -o tests/fixtures/test_simple_c"
99

1010
target:
11-
program: "tests/fixtures/test_simple_c"
11+
program: "../fixtures/test_simple_c"
1212
adapter: "lldb"
1313
stop_on_entry: true
1414

tests/scenarios/error_invalid_breakpoint_c.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ setup:
88
- shell: "gcc -g tests/fixtures/simple.c -o tests/fixtures/test_simple_c"
99

1010
target:
11-
program: "tests/fixtures/test_simple_c"
11+
program: "../fixtures/test_simple_c"
1212
adapter: "lldb"
1313
stop_on_entry: true
1414

tests/scenarios/error_undefined_variable_c.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ setup:
88
- shell: "gcc -g tests/fixtures/simple.c -o tests/fixtures/test_simple_c"
99

1010
target:
11-
program: "tests/fixtures/test_simple_c"
11+
program: "../fixtures/test_simple_c"
1212
adapter: "lldb"
1313
stop_on_entry: true
1414

tests/scenarios/expression_eval_js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Verifies expression evaluation in debug context"
66

77
# Debug target configuration
88
target:
9-
program: "tests/fixtures/simple.js"
9+
program: "../fixtures/simple.js"
1010
args: []
1111
adapter: "js-debug"
1212
stop_on_entry: true

tests/scenarios/hello_world_c.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ setup:
1010

1111
# Debug target configuration
1212
target:
13-
program: "tests/e2e/test_c"
13+
program: "../e2e/test_c"
1414
args: []
1515
stop_on_entry: true
1616

0 commit comments

Comments
 (0)