Skip to content

How to run unit tests? #3

@rainerjung

Description

@rainerjung

Hi there,
I try to integrate this pecl module into a PHP 8.4 build. I can build the module separately using phpize, configure and make. The problem is "make test". The test classes partially require absolute "DIR.'/../../pdo/tests/pdo_test.inc'" paths (workaround possible with a symlink), partially relative paths "ext/pdo/tests/pdo_test.inc" (workaround set include_path), but also refer to "ext/pdo/tests" in common.phpt.
Any hints on how to run the unit tests, not that the module is unbundled from PHP 8.4?
The oci8 module does not have this problem, because it doesn't rely on other test files from the PHP bundle.
Best regards,
Rainer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions