You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
. ' -m|--memory-limit <Mb> - set memory_limit value in Mb, defaults to 130 (Mb)' . PHP_EOL
424
434
. ' -t|--time-limit <sec> - set max_execution_time value in seconds, defaults to 600 (sec)' . PHP_EOL
425
435
. ' -T|--run-test <name> - run selected tests, test names from --list-tests output, can be defined multiple times' . PHP_EOL
436
+
. ' -S|--skip-test <pattern> - skip selected tests, test names pattern to match name from --list-tests output, can be defined multiple times' . PHP_EOL
print_pre("{$colorYellow}<<< WARNING >>>{$colorReset} Option '$okey' has no value! Skip." . PHP_EOL);
509
+
}
510
+
break;
511
+
512
+
490
513
case'd':
491
514
case'dont-recalc':
492
515
case'x':
@@ -744,7 +767,7 @@ function gethostname() {
744
767
'36_02_zlib_gzip_compress' => 500000,
745
768
'36_bzip2_compress' => 50000,
746
769
'36_lz4_compress' => 5000000,
747
-
'36_snappy_compress' => 5000000,
770
+
'36_snappy_compress' => 5000000,
748
771
'36_zstd_compress' => 5000000,
749
772
'36_brotli_compress' => 1000000,
750
773
'37_01_php8_str_ccontains' => 100000,
@@ -802,7 +825,7 @@ function gethostname() {
802
825
'36_02_zlib_gzip_compress' => 4,
803
826
'36_bzip2_compress' => 4,
804
827
'36_lz4_compress' => 4,
805
-
'36_snappy_compress' => 4,
828
+
'36_snappy_compress' => 4,
806
829
'36_zstd_compress' => 4,
807
830
'36_brotli_compress' => 4,
808
831
'37_01_php8_str_ccontains' => 4,
@@ -1463,38 +1486,6 @@ function format_result_test($diffSeconds, $opCount, $memory = 0)
1463
1486
}
1464
1487
exit(1);
1465
1488
}
1466
-
/*
1467
-
if (is_file('php-gd.inc')) {
1468
-
if (extension_loaded('gd')) {
1469
-
include_once 'php-gd.inc';
1470
-
} else {
1471
-
print_pre("${line}\n{$colorYellow}<<< WARNING >>>{$colorReset} Extension 'gd' not loaded or not compiled! Image manipulation tests will be skipped!\n$line");
1472
-
}
1473
-
} else {
1474
-
print_pre("$line\n{$colorRed}<<< ERROR >>>{$colorReset}\nMissing file 'php-gd.inc' with common tests!\n$line");
1475
-
if ($printJson) {
1476
-
print("\"messages_count\": {$messagesCnt},\n");
1477
-
print("\"end\":true\n}" . PHP_EOL);
1478
-
}
1479
-
exit(1);
1480
-
}
1481
-
*/
1482
-
/*
1483
-
if (is_file('php-imagick.inc')) {
1484
-
if (extension_loaded('imagick')) {
1485
-
include_once 'php-imagick.inc';
1486
-
} else {
1487
-
print_pre("${line}\n{$colorYellow}<<< WARNING >>>{$colorReset} Extension 'imagick' not loaded or not compiled! Image manipulation tests will be skipped!\n$line");
1488
-
}
1489
-
} else {
1490
-
print_pre("$line\n{$colorRed}<<< ERROR >>>{$colorReset}\nMissing file 'php-imagick.inc' with common tests!\n$line");
1491
-
if ($printJson) {
1492
-
print("\"messages_count\": {$messagesCnt},\n");
1493
-
print("\"end\":true\n}" . PHP_EOL);
1494
-
}
1495
-
exit(1);
1496
-
}
1497
-
*/
1498
1489
if ((int)$phpversion[0] >= 5) {
1499
1490
if (is_file('php5.inc')) {
1500
1491
include_once'php5.inc';
@@ -1520,8 +1511,33 @@ function format_result_test($diffSeconds, $opCount, $memory = 0)
0 commit comments