Skip to content

Issue 63147 #201

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 4 commits 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
1 change: 1 addition & 0 deletions ext/standard/tests/network/gethostbyname_basic001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ gethostbyname() function - basic type return test
--SKIPIF--
<?php
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
if (getenv("SKIP_ONLINE_TESTS")) die("skip test requiring internet connection");
?>
--FILE--
<?php
Expand Down
15 changes: 0 additions & 15 deletions ext/standard/tests/network/gethostbyname_basic002.phpt

This file was deleted.

1 change: 1 addition & 0 deletions ext/standard/tests/network/gethostbyname_error004.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ gethostbyname() function - basic return valid ip address test
--SKIPIF--
<?php
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
if (getenv("SKIP_ONLINE_TESTS")) die("skip test requiring internet connection");
?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions ext/standard/tests/network/getmxrr.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ getmxrr() test
--SKIPIF--
<?php
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
if (getenv("SKIP_ONLINE_TESTS")) die("skip test requiring internet connection");
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip: no Windows support');
}
Expand Down
5 changes: 5 additions & 0 deletions run-tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,9 @@ function save_or_mail_results()
case 'x':
$environment['SKIP_SLOW_TESTS'] = 1;
break;
case '--offline':
$environment['SKIP_ONLINE_TESTS'] = 1;
break;
//case 'w'
case '-':
// repeat check with full switch
Expand Down Expand Up @@ -689,6 +692,8 @@ function save_or_mail_results()

-x Sets 'SKIP_SLOW_TESTS' environmental variable.

--offline Sets 'SKIP_ONLINE_TESTS' environmental variable.

--verbose
-v Verbose mode.

Expand Down