-
-
Notifications
You must be signed in to change notification settings - Fork 73
Closed
Description
tester.phar does not work.
cd tools/create-phar
php -d phar.readonly=Off create-phar.php
php tester.phar ../../tests --info --debug
# E_WARNING: proc_open(): CreateProcess failed, error code - 267It's because the Job runs phar://D:/Web/dev/nette/tester/tools/create-phar/tester.phar/Runner/info.php and its CWD is inside PHAR. When changed here into:
strncasecmp($this->file, 'phar://', 7) === 0 ? sys_get_temp_dir() : dirname($this->file)it will work for test files in ordinary file system, but not for the info.php inside tester.phar self.
I'm thinking about extraction into system temp dir in this case.
Metadata
Metadata
Assignees
Labels
No labels