[php-src] PR #16094: Skip tests requiring to load dl_test dynamically
| From: | cmb69 | Date: | Sat, 28 Sep 2024 12:03:07 +0000 |
| Subject: | [php-src] PR #16094: Skip tests requiring to load dl_test dynamically | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28851@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16094
Author: cmb69
We have a couple of test cases which are useless, if the dl_test extension is already loaded, since
they test the behavior of
dl(). However, they are currently failing if dl_test is
already loaded; we skip these tests now instead.
---
If we want to ensure that these tests are exercised, we should make sure that the extension cannot
be built statically (currently at least configure would be fine with this on Windows), and we should
ensure that the extension cannot be loaded via php.ini and friends. And for Windows, we should
probably adapt --enable-test-ini accordingly.
@arnaud-lb, thoughts?