Skip to content

Fix windows tests#52

Merged
jeromehaxhiaj-qti merged 3 commits intoqualcomm:mainfrom
jeromehaxhiaj-qti:fix_windows_tests
May 6, 2026
Merged

Fix windows tests#52
jeromehaxhiaj-qti merged 3 commits intoqualcomm:mainfrom
jeromehaxhiaj-qti:fix_windows_tests

Conversation

@jeromehaxhiaj-qti
Copy link
Copy Markdown
Contributor

@jeromehaxhiaj-qti jeromehaxhiaj-qti commented May 6, 2026

  • Search for dll cleanup helper in the path otherwise fails the tests
  • Fix termination of the remote process
  • Add missing override specified in runonsystemc

@jeromehaxhiaj-qti jeromehaxhiaj-qti changed the title Refs/heads/fix windows tests Fix windows tests May 6, 2026
Comment thread systemc-components/common/include/runonsysc.h
@markfoodyburton markfoodyburton requested a review from mahmdkamel May 6, 2026 08:31
Copy link
Copy Markdown
Contributor

@markfoodyburton markfoodyburton left a comment

Choose a reason for hiding this comment

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

I'd like Mahmoud to review too

Comment thread systemc-components/common/include/remote.h Outdated
The helper was only searched next to the running executable, which fails
when tests run from subdirectories. Fall back to SearchPathA so the
helper is found via PATH (prepended by the test harness). Escalate
spawn failure from a warning to SCP_FATAL to catch misconfigurations
immediately instead of silently leaking temp DLLs.

Signed-off-by: Jerome Haxhiaj <jhaxhiaj@qti.qualcomm.com>
The on_partner_exit callback only logged the event but never actually
exited, leaving remote.exe orphaned after tests complete. Call _Exit()
so the process terminates promptly when the parent is gone.

Signed-off-by: Jerome Haxhiaj <jhaxhiaj@qti.qualcomm.com>
Suppresses -Winconsistent-missing-override warning.

Signed-off-by: Jerome Haxhiaj <jhaxhiaj@qti.qualcomm.com>
@jeromehaxhiaj-qti jeromehaxhiaj-qti merged commit cedd0a3 into qualcomm:main May 6, 2026
25 of 26 checks passed
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.

3 participants