Dasharo / open-source-firmware-validation

OSFV infrastructure with automated tests and scripts for managing test results
Apache License 2.0
6 stars 1 forks source link

Ncm configs rework #260

Closed mkopec closed 2 months ago

mkopec commented 3 months ago

Mostly done, needs to be tested on actual hardware.

mkopec commented 2 months ago

@macpijan I added the ability to mix different laptops and test stations like so:

$ robot -v snipeit:no -L TRACE -v rte_ip:192.168.4.180 -v device_ip:192.168.4.60 -v config:novacustom-ts1 -v installed_dut:novacustom-nv41pz dasharo-compatibility/uefi-shell.robot
==============================================================================
Uefi-Shell
==============================================================================
USH001.001 UEFI Shell :: Check whether the DUT has the ability to ... | PASS |
------------------------------------------------------------------------------
Uefi-Shell                                                            | PASS |
1 test, 1 passed, 0 failed
==============================================================================
Output:  /home/michal/Development/Dasharo/osfv/output.xml
Log:     /home/michal/Development/Dasharo/osfv/log.html
Report:  /home/michal/Development/Dasharo/osfv/report.html

maybe it makes sense to generalize this for more platforms

mkopec commented 2 months ago

Basic tests are passing now so I'm marking this as ready for review @macpijan

macpijan commented 2 months ago

@mkopec

I added the ability to mix different laptops and test stations like so:

I am fine with this proposal.

We try to come up with a single regression script: https://github.com/Dasharo/open-source-firmware-validation/blob/develop/scripts/regression.sh to get rid of these platform-specific ones. It might need a few more lines of code to get this working with your proposal. Can you do that?

mkopec commented 2 months ago

@macpijan Added handling of the test station to the regression script, and rebased on develop