Skip to content

Add possibility to use piped attributes for comparison - #2559

Open
edriouk wants to merge 1 commit into
mainfrom
matchAny
Open

Add possibility to use piped attributes for comparison#2559
edriouk wants to merge 1 commit into
mainfrom
matchAny

Conversation

@edriouk

@edriouk edriouk commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Fixes

This address possibility to use aliases for target attributes, e.g. for a compiler.
Considering csolution.yml:

compiler: XC
alias: GCC

This change will allow to set RteTarget` attribute Tcompiler to "XC|GCC" effectively to accept all components for GCC and XC compilers

Changes

  • Add WildCard::MatchAny() method to compare alternatives from both arguments "A|B|C"
  • Use MatchAny when evaluating generic target attributes in RteConditionExpression.
  • Ad corresponding tests

Checklist

  • 🤖 This change is covered by unit tests (if applicable).
  • 🤹 Manual testing has been performed (if necessary).
  • 🛡️ Security impacts have been considered (if relevant).
  • 📖 Documentation updates are complete (if required).
  • 🧠 Third-party dependencies and TPIP updated (if required).

@edriouk
edriouk requested a review from brondani August 14, 2026 15:11
@github-actions

github-actions Bot commented Aug 14, 2026

Copy link
Copy Markdown

Test Results

  2 files   -    41   14 suites   - 113   13m 46s ⏱️ - 2m 42s
477 tests  -   632  477 ✅  -   615  0 💤  - 17  0 ❌ ±0 
954 runs   - 1 403  954 ✅  - 1 345  0 💤  - 58  0 ❌ ±0 

Results for commit 86f5fd3. ± Comparison against base commit 119b477.

This pull request removes 632 tests.
AuxCmdTests ‑ MkdirCmdTest
AuxCmdTests ‑ RmdirCmdTest
AuxCmdTests ‑ TouchCmdTest
BuildSystemGeneratorTests ‑ GenAuditFile
BuildSystemGeneratorTests ‑ GenAuditFile_WithOut_Existing_Audit_File
BuildSystemGeneratorTests ‑ GenAuditFile_With_Existing_Audit_File
BuildSystemGeneratorTests ‑ GetString
BuildSystemGeneratorTests ‑ StrConv
BuildSystemGeneratorTests ‑ StrNorm
CBuildGCCTests ‑ Asm
…

♻️ This comment has been updated with latest results.

@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.13%. Comparing base (119b477) to head (86f5fd3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2559   +/-   ##
=======================================
  Coverage   72.13%   72.13%           
=======================================
  Files         185      185           
  Lines       30117    30117           
  Branches    17769    17769           
=======================================
  Hits        21726    21726           
  Misses       6090     6090           
  Partials     2301     2301           
Flag Coverage Δ
buildmgr-cov 79.87% <ø> (ø)
packchk-cov 69.81% <ø> (ø)
projmgr-cov 88.07% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant