Skip to content

Don't set extension_dir in make test #6983

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nikic
Copy link
Member

@nikic nikic commented May 14, 2021

This is an alternative to #6910. make test is changed to not override extension_dir and instead use absolute paths for -dextension=. This means that additional modules will be loaded from the default extension_dir, which should make it possible to load additional modules when testing PECL extensions.

@nikic
Copy link
Member Author

nikic commented May 16, 2021

Hm, this won't work in this form for the php-src case. We do want extension_dir to be specified there, otherwise it's going to load from the install prefix rather than modules/. It may make sense to separate the behavior for the php-src and the extension build cases, especially as we'll want to stop automatically loading everything in modules/ for php-src in the future.

@nikic nikic marked this pull request as draft May 17, 2021 08:21
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