Skip to content

Commit 9be6847

Browse files
fjtrujyclaude
andcommitted
Fix include path to point to test directory
The previous fix pointed -I to test/include, but the .vcl files use paths like: .include "include/db_in_db_out.i" When masp resolves includes with -I flag, it concatenates: include_path + "/" + file_from_include_directive So with -I test/include, it would look for: test/include/include/db_in_db_out.i (wrong - double "include") Corrected to point -I to test/ directory, so it looks for: test/include/db_in_db_out.i (correct!) This matches how the .vcl files reference the includes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 077de25 commit 9be6847

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/unit/test_stress_parallel.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ int main(void) {
5454
char include_path[1024];
5555

5656
snprintf(masp_path, sizeof(masp_path), "%s/src/masp", BUILD_DIR);
57-
snprintf(include_path, sizeof(include_path), "%s/test/include", SRC_DIR);
57+
// Point to test/ directory so masp can resolve "include/*.i" paths
58+
snprintf(include_path, sizeof(include_path), "%s/test", SRC_DIR);
5859

5960
// Check if masp exists
6061
struct stat st;

0 commit comments

Comments
 (0)