Skip to content

feat: recover Windows test runs#89

Merged
carlos-granados merged 1 commit into
php-debugger:mainfrom
carlos-granados:feat/recover-windows-tests
May 18, 2026
Merged

feat: recover Windows test runs#89
carlos-granados merged 1 commit into
php-debugger:mainfrom
carlos-granados:feat/recover-windows-tests

Conversation

@carlos-granados

@carlos-granados carlos-granados commented May 16, 2026

Copy link
Copy Markdown
Collaborator

Recovers testing on Windows which had been removed on a previous step.

Main problem was that we had defined the extension as having the name debugger, not php-debugger. This meant that some checks for the COMPILE_DL_PHP_DEBUGGER flag were not working as it was actually being set as COMPILE_DL_DEBUGGER. Updating config.m4 to use this correct name fixes the problem and all tests on Windows are now passing 👍

Notice that now the DLL is named php_php_debugger.dll. This is correct as Windows DLLs are all named php_name_of_the extension.dll so the duplicate php_ bit matches the standard

@carlos-granados carlos-granados force-pushed the feat/recover-windows-tests branch 19 times, most recently from 6c8aea4 to 06f36c2 Compare May 17, 2026 18:27
@carlos-granados carlos-granados force-pushed the feat/recover-windows-tests branch from 06f36c2 to 1b2cb57 Compare May 17, 2026 18:33
[%d] [Step Debug] WARN: Creating socket for 'doesnotexist3:9003', getaddrinfo: %d.
[%d] [Step Debug] WARN: Could not connect to client host discovered through HTTP headers, connecting to configured address/port: doesnotexist2:9003.
[%d] [Step Debug] WARN: Creating socket for 'doesnotexist2:9003', getaddrinfo: 11001.
[%d] [Step Debug] DEBUG: Adding header 'Content-type: %s'.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This tests needs updating the same way as all the other remote-log tests with the extra debugging output for headers. I had not updated it previously because it only runs on Windows, so I had not noticed that it was failing

@carlos-granados carlos-granados requested a review from pronskiy May 17, 2026 18:39

@pronskiy pronskiy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍👍👍

@carlos-granados carlos-granados merged commit 42c8ae2 into php-debugger:main May 18, 2026
35 checks passed
@carlos-granados carlos-granados deleted the feat/recover-windows-tests branch May 18, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants