GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix remaining skipped tests by carlos-granados · Pull Request #61 · php-debugger/php-debugger Conversation
Collaborator
There were several tests which had been skipped as they failed in the new debugger. This PR fixes all the remaining cases. In most places we just need to adjust the test but there was an important bug where we had removed the call to the existing php error handler which resulted in several failures and which would have made error handling not work properly with the php-debugger installed. This PR also removes all the tests which targeted versions of PHP lower than PHP 8.2 With these changes and the changes proposed in the two PRs which fix the remaining XFAIL tests, all tests are passing as in the initial fork 🎉
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
carlos-granados
commented
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was an important bug, we had removed calling the existing php error handler and this resulted in several issues
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
carlos-granados
commented
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We removed all tests which targeted PHP versions lower than 8.2
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
carlos-granados
commented
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. After removing the tests that targeted versions lower than 8.2 we sometimes were left with versions of the tests which targeted all the versions that we handle. In that case it does not make sense to name them with a specific version, so I renamed them
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
carlos-granados
commented
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug fixed by the change in the error callback
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
carlos-granados
commented
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Our debugger does not print a message when it cannot connect, so this needs to be removed from the output of some tests
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
carlos-granados
commented
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed by the change in the error callback
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
carlos-granados
commented
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not really sure which of our changes fixed this, but now it works
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
carlos-granados
commented
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We don't print a message if we can't connect
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
carlos-granados
commented
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is logged is different as our start sequence is different, but this is not important for this test which actually tests that the log configuration is picked from the env variables
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
carlos-granados
commented
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not important for the test
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
carlos-granados
commented
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed by our change in the error handler
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
carlos-granados
commented
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the logs we don't log an error when we can't connect to a client
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
carlos-granados
commented
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The stack that we get does not have as much detail as the one provided by xdebug. However this is not very important for this test which actually tests that we can access the return value when the function at the top of the frame is internal, so checking for less detail is fine
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
carlos-granados
force-pushed
the
fix/skipped-tests
branch
from
ff40147 to
28dc8e0
Compare
# Conflicts: # src/base/base.c
carlos-granados
force-pushed
the
fix/skipped-tests
branch
from
28dc8e0 to
e120c02
Compare
carlos-granados
force-pushed
the
fix/skipped-tests
branch
from
e97fb4b to
9508ce5
Compare
carlos-granados
commented
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Includes some fixes to memory leaks found by USBAN. These had not been seen before because the tests that run this code were skipped
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
pronskiy
approved these changes
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||