Skip to content

Create CPPINTEROP_COMMON_WASM_TEST_COMPILE_FLAGS and CPPINTEROP_COMMON_WASM_TEST_LINK_FLAGS cmake variables to avoid repetition when creating tests#818

Merged
mcbarton merged 1 commit intocompiler-research:mainfrom
mcbarton:Avoid-duplication-compile-and-link-flags
Mar 21, 2026
Merged

Create CPPINTEROP_COMMON_WASM_TEST_COMPILE_FLAGS and CPPINTEROP_COMMON_WASM_TEST_LINK_FLAGS cmake variables to avoid repetition when creating tests#818
mcbarton merged 1 commit intocompiler-research:mainfrom
mcbarton:Avoid-duplication-compile-and-link-flags

Conversation

@mcbarton
Copy link
Copy Markdown
Collaborator

We have multiple test suites, which have common compile and link options. Therefore this PR creates common compile and link flags to avoid repetition of these options in future when creating new test suites, and the need for changes in multiple places when changing these defaults in the future.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.75%. Comparing base (0df2506) to head (d503f84).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #818   +/-   ##
=======================================
  Coverage   79.75%   79.75%           
=======================================
  Files          11       11           
  Lines        4031     4031           
=======================================
  Hits         3215     3215           
  Misses        816      816           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mcbarton mcbarton force-pushed the Avoid-duplication-compile-and-link-flags branch from 1666477 to 8fe0856 Compare February 18, 2026 15:59
@mcbarton
Copy link
Copy Markdown
Collaborator Author

This PR is ready for review

@mcbarton mcbarton force-pushed the Avoid-duplication-compile-and-link-flags branch from 8fe0856 to e67d89e Compare February 20, 2026 09:50
@mcbarton
Copy link
Copy Markdown
Collaborator Author

This PR is ready for review

@mcbarton mcbarton force-pushed the Avoid-duplication-compile-and-link-flags branch 3 times, most recently from 3fb3076 to d326e63 Compare March 2, 2026 12:27
@mcbarton mcbarton force-pushed the Avoid-duplication-compile-and-link-flags branch 2 times, most recently from 9ea7100 to fdb0f59 Compare March 11, 2026 12:07
@mcbarton mcbarton requested a review from Vipul-Cariappa March 12, 2026 16:20
@mcbarton mcbarton force-pushed the Avoid-duplication-compile-and-link-flags branch from fdb0f59 to ee98f1b Compare March 12, 2026 16:20
@mcbarton mcbarton requested a review from aaronj0 March 13, 2026 09:00
…N_WASM_TEST_LINK_FLAGS cmake variables to avoid repetition when creating tests
@mcbarton mcbarton force-pushed the Avoid-duplication-compile-and-link-flags branch from ee98f1b to d503f84 Compare March 15, 2026 17:17
Copy link
Copy Markdown
Contributor

@vgvassilev vgvassilev left a comment

Choose a reason for hiding this comment

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

LGTM!

@mcbarton mcbarton merged commit 5f757f7 into compiler-research:main Mar 21, 2026
34 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.

2 participants