Streamline php_modules and php_tools definitions

This commit is contained in:
cytopia
2022-12-11 11:38:34 +01:00
parent a122d6685d
commit 364c28b248
221 changed files with 10 additions and 147 deletions

View File

@@ -1,7 +1,6 @@
[PHP Mods: Overview](../../php_modules/README.md) |
[PHP Mods: `options.yml`](PHP-EXT-options.yml.md) |
PHP Mods: `build.yml` |
[PHP Mods: `test.yml`](PHP-EXT-test.yml.md)
PHP Mods: `install.yml`
---
@@ -9,7 +8,7 @@ PHP Mods: `build.yml` |
# Extension definition: `build.yml`
# Extension definition: `install.yml`
## Top level defines

View File

@@ -1,7 +1,6 @@
[PHP Mods: Overview](../../php_modules/README.md) |
PHP Mods: `options.yml` |
[PHP Mods: `build.yml`](PHP-EXT-build.yml.md) |
[PHP Mods: `test.yml`](PHP-EXT-test.yml.md)
[PHP Mods: `install.yml`](PHP-EXT-install.yml.md)
---
@@ -36,7 +35,7 @@ Example:
exclude: [5.2, 5.3]
```
**Note:** If this extension is already present, do not exclude it in here, but rather use `already_avail` in `build.yml`.
**Note:** If this extension is already present, do not exclude it in here, but rather use `already_avail` in `install.yml`.
### `depends_build`

View File

@@ -1,27 +0,0 @@
[PHP Mods: Overview](../../php_modules/README.md) |
[PHP Mods: `options.yml`](PHP-EXT-options.yml.md) |
[PHP Mods: `build.yml`](PHP-EXT-build.yml.md) |
PHP Mods: `test.yml`
---
<h2><img name="Documentation" title="Documentation" width="20" src="https://github.com/devilbox/artwork/raw/master/submissions_logo/cytopia/01/png/logo_64_trans.png"> Contributor Documentation: PHP Modules</h2>
# Extension definition: `test.yml`
### Goal
The goal of these tests will be to ensure that each compiled module works as expected:
* Required system libraries are present
* Module has been loaded in correct order
* Module works properly
This will be accomplished by providing example PHP code, which makes calls to functions of the respective module. The tests will then check PHP error logs, stderr, unforseen exits and segfaults for potential errors.
Currently some basic tests already exist or a few modules **[here](../../tests/mods/modules)**.
### Configuration
This is not yet implemented and thus no documentation exists.