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

run-tests.php: Add a flag similar to --asan that skips tests when run under Valgrind #14805

Open
Girgias opened this issue Jul 4, 2024 · 0 comments

Comments

@Girgias
Copy link
Member

Girgias commented Jul 4, 2024

Description

I just ran 11k tests under Valgrind to try and find issues with one of my big PRs, and any test excepting an OOM failure will either time out or use all the memory before being killed.

It would be great if those could be skipped and not accidentally triggered.

Some relevant tests:

  • ext/standard/tests/gh14643_longname.phpt
  • Zend/tests/bug79836_4.phpt
  • tests/basic/bug67198.phpt (maybe)
  • tests/basic/enable_post_data_reading_05.phpt (maybe)

Other tests are those opening PHP procs and timing out:

  • ext/standard/tests/file/proc_open01.phpt
  • ext/standard/tests/http/gh11274.phpt
  • ext/standard/tests/streams/bug64433.phpt
  • ext/standard/tests/url/get_headers_error_003.phpt

And some tests seem to be bogus with Valgrind or an issue that we cannot fix:

  • ext/standard/tests/mail/mail_basic2.phpt
  • ext/standard/tests/mail/mail_variation2.phpt
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

1 participant