This is an automated email from the ASF dual-hosted git repository. nickva pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/couchdb-ibrowse.git
commit b64ee815339a9820453b4b3ba6b700d09bcfff8c Author: Nick Vatamaniuc <[email protected]> AuthorDate: Sat Jun 13 16:20:29 2026 -0400 Make unit testing path independent of checkout path When vendoring this dependency it may not be called `ibrowse` when checked out (as is in the case of CouchDB, where it's called couchdb-ibrowse). Then the CI would break because `../../ibrowse/ebin` wouldn't exist. To make it work as any directory name just use a single `../` path and when including in test use `../`. --- Makefile | 2 +- test/Makefile | 2 +- test/ibrowse_test.erl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0ff4c2d..b2af0f8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PROJECT=ibrowse PLT_APPS=erts kernel stdlib ssl crypto public_key -TEST_ERLC_OPTS=-pa ../ibrowse/ebin +TEST_ERLC_OPTS=-pa ebin include erlang.mk diff --git a/test/Makefile b/test/Makefile index 50a292c..34c580d 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,4 +1,4 @@ -IBROWSE_EBIN_PATH=../../ibrowse/ebin +IBROWSE_EBIN_PATH=../ebin compile: @erl -pa $(IBROWSE_EBIN_PATH) -make diff --git a/test/ibrowse_test.erl b/test/ibrowse_test.erl index 2d6336a..0411fd9 100644 --- a/test/ibrowse_test.erl +++ b/test/ibrowse_test.erl @@ -48,7 +48,7 @@ socks5_auth_fail/0 ]). --include_lib("ibrowse/include/ibrowse.hrl"). +-include("../include/ibrowse.hrl"). -compile(nowarn_deprecated_catch).
