From 81ba6b14c7b1b934f4d3e2896f861a42b07aa838 Mon Sep 17 00:00:00 2001 From: Anatoliy Belsky Date: Fri, 11 May 2012 14:24:12 +0200 Subject: 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. --- win32/build/mkdist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/build/mkdist.php b/win32/build/mkdist.php index 17f7cd020e..5ed9bdc81a 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); } -- cgit v1.2.1