Skip to content

Fix ext/enchant test SKIPIFs #18731

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions ext/enchant/tests/broker_dict_exists.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ marcosptf - <marcosptf@yahoo.com.br>
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
if (!enchant_broker_list_dicts(enchant_broker_init())) {die("skip no dictionary installed on this machine! \n");}
?>
--FILE--
<?php
Expand Down
4 changes: 0 additions & 4 deletions ext/enchant/tests/broker_free.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ enchant_broker_free() function
marcosptf - <marcosptf@yahoo.com.br>
--EXTENSIONS--
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
?>
--FILE--
<?php
$broker = enchant_broker_init();
Expand Down
4 changes: 0 additions & 4 deletions ext/enchant/tests/broker_free_01.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
marcosptf - <marcosptf@yahoo.com.br>
--EXTENSIONS--
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
?>
--FILE--
<?php
$broker = enchant_broker_init();
Expand Down
3 changes: 1 addition & 2 deletions ext/enchant/tests/broker_free_02.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ marcosptf - <marcosptf@yahoo.com.br>
enchant
--SKIPIF--
<?php
if(!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
if(!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
if (!enchant_broker_list_dicts(enchant_broker_init())) {die("skip no dictionary installed on this machine! \n");}
?>
--FILE--
<?php
Expand Down
3 changes: 1 addition & 2 deletions ext/enchant/tests/broker_free_dict.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ marcosptf - <marcosptf@yahoo.com.br>
enchant
--SKIPIF--
<?php
if(!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
if(!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
if (!enchant_broker_list_dicts(enchant_broker_init())) {die("skip no dictionary installed on this machine! \n");}
?>
--FILE--
<?php
Expand Down
4 changes: 0 additions & 4 deletions ext/enchant/tests/broker_get_error.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ enchant_broker_get_error() function
marcosptf - <marcosptf@yahoo.com.br>
--EXTENSIONS--
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
?>
--FILE--
<?php
$broker = enchant_broker_init();
Expand Down
4 changes: 0 additions & 4 deletions ext/enchant/tests/broker_init.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ enchant_broker_init() function
marcosptf - <marcosptf@yahoo.com.br>
--EXTENSIONS--
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
?>
--FILE--
<?php
$broker = enchant_broker_init();
Expand Down
3 changes: 1 addition & 2 deletions ext/enchant/tests/broker_request_dict.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ marcosptf - <marcosptf@yahoo.com.br>
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
if (!enchant_broker_list_dicts(enchant_broker_init())) {die("skip no dictionary installed on this machine! \n");}
?>
--FILE--
<?php
Expand Down
3 changes: 1 addition & 2 deletions ext/enchant/tests/broker_request_dict_01.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ marcosptf - <marcosptf@yahoo.com.br>
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
if (!enchant_broker_list_dicts(enchant_broker_init())) {die("skip no dictionary installed on this machine! \n");}
?>
--FILE--
<?php
Expand Down
4 changes: 0 additions & 4 deletions ext/enchant/tests/broker_request_dict_error_on_empty_tag.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
enchant_broker_request_dict() must throw ValueError on empty tag
--EXTENSIONS--
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
?>
--FILE--
<?php
$broker = enchant_broker_init();
Expand Down
4 changes: 0 additions & 4 deletions ext/enchant/tests/broker_request_pwl_dict.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ resource enchant_broker_request_pwl_dict(resource $broker, string $filename); fu
marcosptf - <marcosptf@yahoo.com.br>
--EXTENSIONS--
enchant
--SKIPIF--
<?php
if(!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
?>
--FILE--
<?php
$broker = enchant_broker_init();
Expand Down
3 changes: 1 addition & 2 deletions ext/enchant/tests/broker_set_ordering.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ marcosptf - <marcosptf@yahoo.com.br>
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
if (!enchant_broker_list_dicts(enchant_broker_init())) {die("skip no dictionary installed on this machine! \n");}
?>
--FILE--
<?php
Expand Down
1 change: 0 additions & 1 deletion ext/enchant/tests/bug53070.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Bug #53070 (enchant_broker_get_path crashes if no path is set)
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
if (defined("LIBENCHANT_VERSION") && version_compare(LIBENCHANT_VERSION, "2", ">")) die('skip libenchant v1 only');
?>
--FILE--
Expand Down
3 changes: 1 addition & 2 deletions ext/enchant/tests/dict_add_to_personal.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ marcosptf - <marcosptf@yahoo.com.br>
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
if (!enchant_broker_list_dicts(enchant_broker_init())) {die("skip no dictionary installed on this machine! \n");}
?>
--FILE--
<?php
Expand Down
3 changes: 1 addition & 2 deletions ext/enchant/tests/dict_add_to_session.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ marcosptf - <marcosptf@yahoo.com.br>
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
if (!enchant_broker_list_dicts(enchant_broker_init())) {die("skip no dictionary installed on this machine! \n");}
?>
--FILE--
<?php
Expand Down
3 changes: 1 addition & 2 deletions ext/enchant/tests/dict_check.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ marcosptf - <marcosptf@yahoo.com.br>
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
if (!enchant_broker_list_dicts(enchant_broker_init())) {die("skip no dictionary installed on this machine! \n");}
?>
--FILE--
<?php
Expand Down
3 changes: 1 addition & 2 deletions ext/enchant/tests/dict_describe.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ marcosptf - <marcosptf@yahoo.com.br>
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
if (!enchant_broker_list_dicts(enchant_broker_init())) {die("skip no dictionary installed on this machine! \n");}
?>
--FILE--
<?php
Expand Down
3 changes: 1 addition & 2 deletions ext/enchant/tests/dict_get_error.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ marcosptf - <marcosptf@yahoo.com.br>
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
if (!enchant_broker_list_dicts(enchant_broker_init())) {die("skip no dictionary installed on this machine! \n");}
?>
--FILE--
<?php
Expand Down
3 changes: 1 addition & 2 deletions ext/enchant/tests/dict_is_in_session.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ marcosptf - <marcosptf@yahoo.com.br>
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
if (!enchant_broker_list_dicts(enchant_broker_init())) {die("skip no dictionary installed on this machine! \n");}
?>
--FILE--
<?php
Expand Down
3 changes: 1 addition & 2 deletions ext/enchant/tests/dict_quick_check.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ enchant
--SKIPIF--
<?php
if (getenv('SKIP_ASAN')) die('xleak Known libenchant memory leak');
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
if (!enchant_broker_list_dicts(enchant_broker_init())) {die("skip no dictionary installed on this machine! \n");}

$tag = 'en_US';
$r = enchant_broker_init();
Expand Down
3 changes: 1 addition & 2 deletions ext/enchant/tests/dict_quick_check_01.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ marcosptf - <marcosptf@yahoo.com.br>
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
if (!enchant_broker_list_dicts(enchant_broker_init())) {die("skip no dictionary installed on this machine! \n");}
?>
--FILE--
<?php
Expand Down
3 changes: 1 addition & 2 deletions ext/enchant/tests/dict_store_replacement.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ marcosptf - <marcosptf@yahoo.com.br>
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
if (!enchant_broker_list_dicts(enchant_broker_init())) {die("skip no dictionary installed on this machine! \n");}
?>
--FILE--
<?php
Expand Down
3 changes: 1 addition & 2 deletions ext/enchant/tests/dict_suggest.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ marcosptf - <marcosptf@yahoo.com.br>
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
if (!enchant_broker_list_dicts(enchant_broker_init())) {die("skip no dictionary installed on this machine! \n");}
?>
--FILE--
<?php
Expand Down
3 changes: 1 addition & 2 deletions ext/enchant/tests/enchant_broker_set_dict_path.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ marcosptf - <marcosptf@yahoo.com.br>
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
if (!enchant_broker_list_dicts(enchant_broker_init())) {die("skip no dictionary installed on this machine! \n");}
if (defined("LIBENCHANT_VERSION") && version_compare(LIBENCHANT_VERSION, "2", ">")) die('skip libenchant v1 only');
?>
--FILE--
Expand Down
4 changes: 0 additions & 4 deletions ext/enchant/tests/invalidobj.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
invalid object raise exception() function
--EXTENSIONS--
enchant
--SKIPIF--
<?php
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
?>
--FILE--
<?php
$broker = enchant_broker_init();
Expand Down
3 changes: 1 addition & 2 deletions ext/enchant/tests/null_bytes.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ null bytes
enchant
--SKIPIF--
<?php
$broker = enchant_broker_init();
if (!enchant_broker_list_dicts($broker)) die("skip No broker dicts installed");
if (!enchant_broker_list_dicts(enchant_broker_init())) {die("skip no dictionary installed on this machine! \n");}
?>
--FILE--
<?php
Expand Down
Loading