Skip to content
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

make test error report #5250

Closed
FunnyRyan opened this issue Feb 13, 2024 · 1 comment
Closed

make test error report #5250

FunnyRyan opened this issue Feb 13, 2024 · 1 comment

Comments

@FunnyRyan
Copy link

FunnyRyan commented Feb 13, 2024

=====================================================================
BORKED TEST SUMMARY
---------------------------------------------------------------------
Fatal error: Uncaught Error: Undefined constant "SWOOLE_BASE" in /home/codefiles/swoole-src-5.1.2/tests/include/config.php:38
Stack trace:
#0 /home/codefiles/swoole-src-5.1.2/tests/include/bootstrap.php(10): require_once()
#1 /home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/bug38334.skip.php(6): require('/home/codefiles...')
#2 {main}
  thrown in /home/codefiles/swoole-src-5.1.2/tests/include/config.php on line 38 [/home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/bug38334.phpt]
Fatal error: Uncaught Error: Undefined constant "SWOOLE_BASE" in /home/codefiles/swoole-src-5.1.2/tests/include/config.php:38
Stack trace:
#0 /home/codefiles/swoole-src-5.1.2/tests/include/bootstrap.php(10): require_once()
#1 /home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/bug44327_2_2.skip.php(7): require('/home/codefiles...')
#2 {main}
  thrown in /home/codefiles/swoole-src-5.1.2/tests/include/config.php on line 38 [/home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/bug44327_2_2.phpt]
Fatal error: Uncaught Error: Undefined constant "SWOOLE_BASE" in /home/codefiles/swoole-src-5.1.2/tests/include/config.php:38
Stack trace:
#0 /home/codefiles/swoole-src-5.1.2/tests/include/bootstrap.php(10): require_once()
#1 /home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/bug44327_2_2.skip.php(7): require('/home/codefiles...')
#2 {main}
  thrown in /home/codefiles/swoole-src-5.1.2/tests/include/config.php on line 38 [/home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/bug44327_3_2.phpt]
Fatal error: Uncaught Error: Undefined constant "SWOOLE_BASE" in /home/codefiles/swoole-src-5.1.2/tests/include/config.php:38
Stack trace:
#0 /home/codefiles/swoole-src-5.1.2/tests/include/bootstrap.php(10): require_once()
#1 /home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/bug70862_1.skip.php(6): require('/home/codefiles...')
#2 {main}
  thrown in /home/codefiles/swoole-src-5.1.2/tests/include/config.php on line 38 [/home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/bug70862_1.phpt]
Fatal error: Uncaught Error: Undefined constant "SWOOLE_BASE" in /home/codefiles/swoole-src-5.1.2/tests/include/config.php:38
Stack trace:
#0 /home/codefiles/swoole-src-5.1.2/tests/include/bootstrap.php(10): require_once()
#1 /home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/bug44327_2_2.skip.php(7): require('/home/codefiles...')
#2 {main}
  thrown in /home/codefiles/swoole-src-5.1.2/tests/include/config.php on line 38 [/home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/bug78192_2.phpt]
Fatal error: Uncaught Error: Undefined constant "SWOOLE_BASE" in /home/codefiles/swoole-src-5.1.2/tests/include/config.php:38
Stack trace:
#0 /home/codefiles/swoole-src-5.1.2/tests/include/bootstrap.php(10): require_once()
#1 /home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/bug44327_2_2.skip.php(7): require('/home/codefiles...')
#2 {main}
  thrown in /home/codefiles/swoole-src-5.1.2/tests/include/config.php on line 38 [/home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/bug79664_2.phpt]
Fatal error: Uncaught Error: Undefined constant "SWOOLE_BASE" in /home/codefiles/swoole-src-5.1.2/tests/include/config.php:38
Stack trace:
#0 /home/codefiles/swoole-src-5.1.2/tests/include/bootstrap.php(10): require_once()
#1 /home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/bug44327_2_2.skip.php(7): require('/home/codefiles...')
#2 {main}
  thrown in /home/codefiles/swoole-src-5.1.2/tests/include/config.php on line 38 [/home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/bug_44159_sqlite_version_2.phpt]
Fatal error: Uncaught Error: Undefined constant "SWOOLE_BASE" in /home/codefiles/swoole-src-5.1.2/tests/include/config.php:38
Stack trace:
#0 /home/codefiles/swoole-src-5.1.2/tests/include/bootstrap.php(10): require_once()
#1 /home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/bug_63916_2.skip.php(7): require('/home/codefiles...')
#2 {main}
  thrown in /home/codefiles/swoole-src-5.1.2/tests/include/config.php on line 38 [/home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/bug_63916_2.phpt]
Fatal error: Uncaught Error: Undefined constant "SWOOLE_BASE" in /home/codefiles/swoole-src-5.1.2/tests/include/config.php:38
Stack trace:
#0 /home/codefiles/swoole-src-5.1.2/tests/include/bootstrap.php(10): require_once()
#1 /home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/bug44327_2_2.skip.php(7): require('/home/codefiles...')
#2 {main}
  thrown in /home/codefiles/swoole-src-5.1.2/tests/include/config.php on line 38 [/home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/open_basedir.phpt]
Fatal error: Uncaught Error: Undefined constant "SWOOLE_BASE" in /home/codefiles/swoole-src-5.1.2/tests/include/config.php:38
Stack trace:
#0 /home/codefiles/swoole-src-5.1.2/tests/include/bootstrap.php(10): require_once()
#1 /home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/bug70862_1.skip.php(6): require('/home/codefiles...')
#2 {main}
  thrown in /home/codefiles/swoole-src-5.1.2/tests/include/config.php on line 38 [/home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/pdo_fetch_func_001_1.phpt]
Fatal error: Uncaught Error: Undefined constant "SWOOLE_BASE" in /home/codefiles/swoole-src-5.1.2/tests/include/config.php:38
Stack trace:
#0 /home/codefiles/swoole-src-5.1.2/tests/include/bootstrap.php(10): require_once()
#1 /home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/bug44327_2_2.skip.php(7): require('/home/codefiles...')
#2 {main}
  thrown in /home/codefiles/swoole-src-5.1.2/tests/include/config.php on line 38 [/home/codefiles/swoole-src-5.1.2/tests/swoole_pdo_sqlite/pdo_sqlite_filename_uri.phpt]
=====================================================================

does anyone knows if these test reports are normal? Compilation did not indicate failure, but 'make test' resulted in an error."

@NathanFreeman
Copy link
Member

NathanFreeman commented Feb 14, 2024

php -m to check if the swoole.so extension is loaded.
If not, execute the following command.
echo "extension=swoole.so" >> /path/to/your/php.ini

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants