-del /f /q $(BUILD_DIR)\pecl-$(PHP_VERSION_STRING)$(PHP_ZTS_ARCHIVE_POSTFIX)-Win32-$(PHP_COMPILER_SHORT)-$(PHP_ARCHITECTURE).zip
-del /f /q $(BUILD_DIR)\php-test-pack-$(PHP_VERSION_STRING).zip
-test:
+test: set-test-env
"$(BUILD_DIR)\php.exe" -d open_basedir= -d output_buffering=0 run-tests.php $(TESTS) -p "$(BUILD_DIR)\php.exe"
build-snap: generated_files
}
TF.Close();
+ MF.WriteBlankLines(1);
+
+ var extra_path = PHP_PHP_BUILD + "\\bin";
+ if (PHP_EXTRA_LIBS.length) {
+ path = PHP_EXTRA_LIBS.split(';');
+ for (i = 0; i < path.length; i++) {
+ f = FSO.GetAbsolutePathName(path[i] + "\\..\\bin");
+ if (FSO.FolderExists(f)) {
+ extra_path = extra_path + ";" + f;
+ }
+ }
+ }
+ MF.WriteLine("set-test-env:");
+ MF.WriteLine(" @set PATH=" + extra_path + ";%PATH%");
+
MF.WriteBlankLines(2);
MFO.Close();