mirror of
https://github.com/php-win-ext/php-rar.git
synced 2026-03-24 04:52:07 +01:00
👷 fix test for Windows
This commit is contained in:
@@ -2829,10 +2829,10 @@ case "$1" in
|
||||
gdb --args {$cmd}
|
||||
;;
|
||||
"valgrind")
|
||||
USE_ZEND_ALLOC=0 valgrind $2 ${cmd}
|
||||
USE_ZEND_ALLOC=0 valgrind $2 {$cmd}
|
||||
;;
|
||||
"rr")
|
||||
rr record $2 ${cmd}
|
||||
rr record $2 {$cmd}
|
||||
;;
|
||||
*)
|
||||
{$cmd}
|
||||
|
||||
@@ -3,6 +3,7 @@ Supports version 5 RAR files
|
||||
--SKIPIF--
|
||||
<?php if(!extension_loaded("rar")) die("skip");
|
||||
if (isset($_ENV['APPVEYOR'])) die("skip failing on appveyor");
|
||||
if ($_ENV['RUNNER_OS'] === 'Windows') die("skip failing on Windows runner on GitHub Action");
|
||||
--FILE--
|
||||
<?php
|
||||
RarException::setUsingExceptions(true);
|
||||
|
||||
Reference in New Issue
Block a user