summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorAnatoliy Belsky <ab@php.net>2012-05-11 12:24:12 (GMT)
committerAnatoliy Belsky <ab@php.net>2012-05-11 12:24:12 (GMT)
commit81ba6b14c7b1b934f4d3e2896f861a42b07aa838 (patch)
tree97e82542298ba98afffe80b2f87eacc0b5284ea1 /win32
parent266578f58483a08d7af51714636564df36a926d0 (diff)
downloadphp-81ba6b14c7b1b934f4d3e2896f861a42b07aa838.tar.gz
Fix bug #61990 ext\spl\examples\tests\dualiterator_001.phpt fails
This fixes a general issue. In this ticket and not for the first time is being seen, that people are trying to use data from "examples" in the tests. When extracting a test pack only "tests" and its siblings was taken into account. Now "examples" are copied as well.
Diffstat (limited to 'win32')
-rw-r--r--win32/build/mkdist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/build/mkdist.php b/win32/build/mkdist.php
index 17f7cd0..5ed9bdc 100644
--- a/win32/build/mkdist.php
+++ b/win32/build/mkdist.php
@@ -401,7 +401,7 @@ function copy_test_dir($directory, $dest)
while (FALSE !== ($file = readdir($directory_list))) {
$full_path = $directory . '/' . $file;
if($file != '.' && $file != '..' && $file != '.svn' && is_dir($full_path)) {
- if ($file == 'tests') {
+ if ($file == 'tests' || $file == 'examples') {
if (!is_dir($dest . '/' . $full_path)) {
mkdir($dest . '/' . $full_path , 0775, true);
}