From c6caa8cfb0613c3459d4ac517769a459bd878155 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sat, 28 Sep 2024 13:54:01 +0200 Subject: [PATCH] Skip tests requiring to load dl_test dynamically 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. --- ext/opcache/tests/gh8466.phpt | 10 +++++----- ext/standard/tests/general_functions/dl-001.phpt | 8 +++----- ext/standard/tests/general_functions/dl-002.phpt | 7 +++---- ext/standard/tests/general_functions/dl-003.phpt | 7 +++---- .../dl-use_register_functions_directly.phpt | 10 +++++----- 5 files changed, 19 insertions(+), 23 deletions(-) diff --git a/ext/opcache/tests/gh8466.phpt b/ext/opcache/tests/gh8466.phpt index a89739f64512d..65bcd0faefff2 100644 --- a/ext/opcache/tests/gh8466.phpt +++ b/ext/opcache/tests/gh8466.phpt @@ -1,14 +1,14 @@ --TEST-- Bug GH-8466: ini_get() is optimized out when the option does not exist during compilation --SKIPIF-- - ---FILE-- +--FILE-- + --FILE-- --FILE-- --FILE-- ---FILE-- +--FILE-- +