diff options
| author | Stig Bakken <ssb@php.net> | 2000-08-29 09:12:44 +0000 |
|---|---|---|
| committer | Stig Bakken <ssb@php.net> | 2000-08-29 09:12:44 +0000 |
| commit | fad9bab629b93a81213d79da7b62994d0ba0f5b1 (patch) | |
| tree | 6c3fe10b05c75ef215dcd811e3f63437d4b2f5a8 /run-tests.php | |
| parent | 83ba61245c3b19f817122e40ca474988a77e2d0e (diff) | |
| download | php-git-fad9bab629b93a81213d79da7b62994d0ba0f5b1.tar.gz | |
* Added "test" make target so you can do "make test" in any directory.
* Added copyright header to run-test.php
Diffstat (limited to 'run-tests.php')
| -rwxr-xr-x | run-tests.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/run-tests.php b/run-tests.php index b80c4b72b3..2bb1898479 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1,4 +1,23 @@ <?php +/* + +----------------------------------------------------------------------+ + | PHP version 4.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 1997, 1998, 1999, 2000 The PHP Group | + +----------------------------------------------------------------------+ + | This source file is subject to version 2.02 of the PHP license, | + | that is bundled with this package in the file LICENSE, and is | + | available at through the world-wide-web at | + | http://www.php.net/license/2_02.txt. | + | If you did not receive a copy of the PHP license and are unable to | + | obtain it through the world-wide-web, please send a note to | + | license@php.net so we can mail you a copy immediately. | + +----------------------------------------------------------------------+ + | Authors: Stig Bakken <ssb@fast.no> | + | (based on the PHP 3 test framework by Rasmus Lerdorf) | + +----------------------------------------------------------------------+ + */ + define('TEST_PASSED', 0); define('TEST_FAILED', -1); @@ -6,11 +25,13 @@ define('TEST_SKIPPED', -2); define('TEST_INTERNAL_ERROR', -3); initialize(); +/* $opts = parse_options(&$argc, &$argv); if ($opts['help']) { usage(); exit; } +*/ do_testing($argc, &$argv); exit; |
