Re: pgsql: oauth: Add unit tests for multiplexer handling - Mailing list pgsql-committers

From Jacob Champion
Subject Re: pgsql: oauth: Add unit tests for multiplexer handling
Date
Msg-id CAOYmi+m=xY0P_uAzAP_884uF-GhQ3wrineGwc9AEnb6fYxVqVQ@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: oauth: Add unit tests for multiplexer handling  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: oauth: Add unit tests for multiplexer handling
List pgsql-committers
On Fri, Aug 8, 2025 at 10:01 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Yeah, that's a horrid kluge.  The makefiles themselves ought to
> short-circuit building the test program.  I think the issue is that
> we apply that short-circuit at the next makefile level up --- can
> we do it in src/interfaces/libpq-oauth/Makefile itself?

I'm working on an ifeq test to do that, but some Meson animals are
also reporting issues:

/usr/bin/ld: test-oauth-curl.o: undefined reference to symbol
'floor@@GLIBC_2.2.5'
/usr/bin/ld: /lib/x86_64-linux-gnu/libm.so.6: error adding symbols:
DSO missing from command line
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This is not fully baked enough. I'll revert the test commit for now;
today is not the day to make other people fight a red farm.

--Jacob



pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: oauth: Add unit tests for multiplexer handling
Next
From: Jacob Champion
Date:
Subject: pgsql: Revert "oauth: Add unit tests for multiplexer handling"