Skip to content

Conversation

@igoropaniuk
Copy link
Contributor

@igoropaniuk igoropaniuk commented Jun 16, 2025

Add tests make target and a simple test that executes qdl in dry-run mode
for a synthetic reference FLAT build with VIP table generation.

The FLAT build contains:

  • patch0.xml
  • patch1.xml
  • rawprogram0.xml
  • rawprogram1.xml

All binaries that these XML files point to are filled with zeros, generated
during github action execution.

Tests ensures that the table is generated correctly by comparing
calculated and expected SHA256 hashes of DigestToSign.bin file.

@igoropaniuk igoropaniuk force-pushed the vip_dry_run_github_action branch 12 times, most recently from f3ae7e2 to 2ecd80c Compare June 16, 2025 14:16
@igoropaniuk igoropaniuk force-pushed the vip_dry_run_github_action branch 3 times, most recently from f9f72a9 to 30879be Compare June 17, 2025 10:20
@igoropaniuk igoropaniuk requested a review from lumag June 17, 2025 10:21
@ndechesne
Copy link
Contributor

Why did you add the 'test' files in .github, instead of making them part of the project, like a 'tests' folder which could be exercised with 'make tests'?

@igoropaniuk
Copy link
Contributor Author

@ndechesne actually that's a great idea, will take a look

@igoropaniuk igoropaniuk force-pushed the vip_dry_run_github_action branch from 30879be to 2dfd4fd Compare June 17, 2025 13:00
@igoropaniuk igoropaniuk changed the title github: dry run test with VIP table generation tests: add initial test set Jun 17, 2025
@igoropaniuk igoropaniuk force-pushed the vip_dry_run_github_action branch 3 times, most recently from 48ede1a to 3994e83 Compare June 17, 2025 13:05
@igoropaniuk
Copy link
Contributor Author

@ndechesne @lumag reworked, please take a look

@igoropaniuk igoropaniuk force-pushed the vip_dry_run_github_action branch from 3994e83 to c104d02 Compare June 17, 2025 13:09
@igoropaniuk igoropaniuk requested a review from lumag June 17, 2025 13:09
@igoropaniuk igoropaniuk force-pushed the vip_dry_run_github_action branch from c104d02 to 598cecb Compare June 17, 2025 13:13
@igoropaniuk igoropaniuk force-pushed the vip_dry_run_github_action branch from 598cecb to 28efa9e Compare June 17, 2025 13:16
Add tests make target and a simple test that executes qdl in dry-run mode
for a synthetic reference FLAT build with VIP table generation.

The FLAT build contains:
- patch0.xml
- patch1.xml
- rawprogram0.xml
- rawprogram1.xml

All binaries that these XML files point to are filled with zeros, generated
during github action  execution.

Tests ensures that the table is generated correctly by comparing
calculated and expected SHA256 hashes of DigestToSign.bin file.

Signed-off-by: Igor Opaniuk <[email protected]>
@igoropaniuk igoropaniuk force-pushed the vip_dry_run_github_action branch from 28efa9e to 9c707ff Compare June 17, 2025 13:35
@lumag lumag enabled auto-merge June 17, 2025 13:55
@lumag lumag disabled auto-merge June 17, 2025 13:56
@igoropaniuk
Copy link
Contributor Author

igoropaniuk commented Jun 19, 2025

Is there anything else needed to be done in this PR to get it merged? Thanks!

@konradybcio konradybcio merged commit 6c0fbcc into linux-msm:master Jun 20, 2025
12 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.

5 participants