-
Notifications
You must be signed in to change notification settings - Fork 0
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
Dcuc testing #13
Dcuc testing #13
Conversation
Signed-off-by: Maciej Pijanowski <[email protected]>
Signed-off-by: Maciej Pijanowski <[email protected]>
Signed-off-by: Maciej Pijanowski <[email protected]>
...ls/_dcuc_logo_data_work_protectli_vault_cml_v1_2_0_rc1_vp46xx_rom_l_data_work_bootsplash_bmp
Outdated
Show resolved
Hide resolved
test/approvals/_dcuc_smbios_data_work_novacustom_nv4x_adl_v1_6_0_rom_s_D07229051
Show resolved
Hide resolved
@macpijan |
NovaCustom MTL releases do not support this? I thought this was the tool for the non-GPU models, which have been released already? |
To work on these binaries the GBE section has to be first replaced with a valid, blank one. We have the gbe blob available to download in our repo: The tests could download both the binary and gbe section and then replace it in the binary to perform tests. |
The iGPU releases shipped without a GbE region @macpijan . The blob was added to the repo after the release and DCU requires that blob to be in the binary. We can inject the blob into the binary after the fact and provide it somewhere publicly (we probably don't want to replace the original binaries, but provide "full" binaries alongside them) |
That sounds ok to me. |
Signed-off-by: Filip Gołaś <[email protected]>
I have added tests for mac command. There is still the issue that approvals show absolute paths which will look different every time someone runs the approvals. Are we fixing that? |
We are using an old version of approve.bash. The new version allows for automatically accepting some differences as @macpijan suggested:
I have tried using this option with $PWD which caused |
With the latest commits a CI worflow was added. It was tested to work locally using https://github.com/nektos/act but I can see it does not on the remote. It needs some debugging. |
c848874
to
3c02eba
Compare
Looks like the CI is now running fine although the logs don't look like the tests are actually performed, like it ends just after downloading the files needed for the tests... |
3c02eba
to
a4f6282
Compare
test/test-data.sh: Add preparation of data for MAC command test/approvals: Add MAC approvals Signed-off-by: Filip Gołaś <[email protected]>
Signed-off-by: Filip Gołaś <[email protected]>
Signed-off-by: Filip Gołaś <[email protected]>
test/approvals/: Update to approvals not containing the PWD Signed-off-by: Filip Gołaś <[email protected]>
c970fd1
to
6cb6139
Compare
test: Prepare for using in GH CI test/approvals: Add approvals for CI .github/workflows/tests.yml: Add CI workflow for testing dcuc Signed-off-by: Filip Gołaś <[email protected]>
Signed-off-by: Filip Gołaś <[email protected]>
Signed-off-by: Filip Gołaś <[email protected]>
ac77610
to
9cc20e7
Compare
Signed-off-by: Filip Gołaś <[email protected]>
c68f380
to
6a1f81d
Compare
Signed-off-by: Filip Gołaś <[email protected]>
6a1f81d
to
4117f5c
Compare
Signed-off-by: Filip Gołaś <[email protected]>
@BeataZdunczyk @mkopec @philipandag Please use tests and implement new ones for new features.
We are already missing tests for the most recently added feature.
Testing is documented in the README: https://github.com/Dasharo/dcu?tab=readme-ov-file#testing
As a followup, we need following improvements: