Skip to content

Commit 34d5de7

Browse files
committed
ci: fix curl_helpers.hpp include path in three hook tests
Three test files included curl_helpers.hpp via the repo-rooted path "test/integ/curl_helpers.hpp", but the build's -I list only adds "-I../../test" (the test source dir) — there is no -I./. that would resolve the leading "test/" component. The build fails with "No such file or directory" on every lane that actually builds tests. Switch to "./curl_helpers.hpp", matching the convention used by every other test in test/integ/ (e.g. authentication.cpp's #include "./test_utils.hpp").
1 parent fdee3d7 commit 34d5de7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

test/integ/hooks_body_chunk_observes_progress.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
#include "./httpserver.hpp"
3131
#include "./littletest.hpp"
32-
#include "test/integ/curl_helpers.hpp"
32+
#include "./curl_helpers.hpp"
3333

3434
using httpserver::body_chunk_ctx;
3535
using httpserver::create_webserver;

test/integ/hooks_body_chunk_short_circuit_no_leak.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
#include "./httpserver.hpp"
3030
#include "./littletest.hpp"
31-
#include "test/integ/curl_helpers.hpp"
31+
#include "./curl_helpers.hpp"
3232

3333
using httpserver::body_chunk_ctx;
3434
using httpserver::create_webserver;

test/integ/hooks_request_received_short_circuit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
#include "./httpserver.hpp"
3131
#include "./littletest.hpp"
32-
#include "test/integ/curl_helpers.hpp"
32+
#include "./curl_helpers.hpp"
3333

3434
using httpserver::body_chunk_ctx;
3535
using httpserver::create_webserver;

0 commit comments

Comments
 (0)