Skip to content

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

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

Activity

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

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