Skip to content

Conversation

@NattyNarwhal
Copy link
Member

ext/odbc/tests/config.inc overrides the INIs used for the ODBC driver manager pointlessly. It's not pointing to some custom PHP test suite specific one, but the system one in /etc/odbc(inst).ini. Which doesn't necessarily exist, on i.e. NixOS, MacPorts, etc.

Fixes running the test suite on macOS with MacPorts, which puts it in /opt/local/etc.

I'm applying this to 8.1 since it is a bug fix, but I can retarget if needed.

`ext/odbc/tests/config.inc` overrides the INIs used for the ODBC driver
manager pointlessly. It's not pointing to some custom PHP test suite
specific one, but the system one in `/etc/odbc(inst).ini`. Which
doesn't necessarily exist, on i.e. NixOS, MacPorts, etc.
@NattyNarwhal NattyNarwhal changed the base branch from master to PHP-8.1 September 5, 2023 14:29
@kocsismate
Copy link
Member

Nice! I recently had to find out how to run the test suite on a Mac, and I rather set up a symlink because I didn't know why etc/odbc.ini is needed. I'm glad that we can remove it :)

@Girgias Girgias closed this in a648d39 Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants