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

Generate test executables per architecture #16594

Merged
merged 29 commits into from
Jan 13, 2025
Merged

Conversation

blozano-tt
Copy link
Contributor

@blozano-tt blozano-tt commented Jan 10, 2025

Ticket

Closes #15692
Closes #596

Problem description

ARCH_NAME is still required when compiling tests

What's changed

Where test cases are ARCH_NAME dependent, generate an executable foreach ARCH.

Example

Currently, instead of generating unit_tests_api it generates unit_tests_api_grayskull unit_tests_api_wormhole_b0 unit_tests_api_blackhole

Approach

The idea is simple. Any time a test directory faces issue due to ARCH_NAME include path removal, just triple the number of executables in that directory, and manually supply the include path required foreach arch.

Then update all references.

Checklist

@blozano-tt blozano-tt marked this pull request as ready for review January 12, 2025 11:18
@blozano-tt blozano-tt changed the title Generate unit test executables per architecture Generate test executables per architecture Jan 12, 2025
@blozano-tt blozano-tt merged commit 2e6915b into main Jan 13, 2025
7 of 13 checks passed
@blozano-tt blozano-tt deleted the blozano-test-per-arch branch January 13, 2025 23:41
@blozano-tt blozano-tt added this to the ARCH_NAME Removal milestone Jan 14, 2025
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.

tests/ require ARCH_NAME specific include path to build Refactor build so we can build arch-independent
4 participants