Skip to content

run-tests.phpt -s option is broken #20961

@ndossche

Description

@ndossche

Description

Run:

./sapi/cli/php ./run-tests.php -s foobar ext/openssl/tests/gh13860.phpt

Notice how foobar is not created.
This is because of the following early return which is hit:

php-src/run-tests.php

Lines 909 to 911 in 146b535

if (getenv('NO_INTERACTION')) {
return;
}

because the same code path that calls save_results:

putenv('NO_INTERACTION=1');

But I have no idea why

PHP Version

8.4+

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions