-
-
Notifications
You must be signed in to change notification settings - Fork 3
Templated dts e2e tests #863
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
base: develop
Are you sure you want to change the base?
Conversation
Current state:
Most of those if not all can be fixed with tweaking platform config (e.g. to set correct version string when updating) Details
Also found a bug in DTS
probably when trying to pass non-numeric value. |
Had to update robotframework to make this work, so this PR would have to be tested to make sure there are no regressions but would also resolve #606 |
4bfb866
to
5261b4c
Compare
To make sure all tests work boot into DTS with newest robot -b cmd_logs.txt -v rte_ip:127.0.0.1 -v config:qemu \
-L TRACE \
-v snipeit:no \
-v boot_dts_from_ipxe_shell:True \
-v dts_ipxe_link:http://localhost/dts.ipxe \
-v dpp_email:'***' \
-v dpp_password:'***' -t "Create tests" dts/dts-e2e.robot Output: Details
To test make sure to create venv from To list all tests that'll be generated you can use (without starting QEMU): robot -t "E2EH003*" dts/dts-e2e-helper.robot Details
To print out exports used during every test, please run test robot -v config:novacustom-v540tnd -t "E2EH002*" dts/dts-e2e-helper.robot Details
|
5261b4c
to
1e8318a
Compare
* TemplateSplit - split each template keyword into separate tests * PlatformParser - parse platform config and return variables defined for that platform in a dict Signed-off-by: Michał Iwanicki <[email protected]>
Signed-off-by: Michał Iwanicki <[email protected]>
Signed-off-by: Michał Iwanicki <[email protected]>
Signed-off-by: Michał Iwanicki <[email protected]>
Signed-off-by: Michał Iwanicki <[email protected]>
Signed-off-by: Michał Iwanicki <[email protected]>
1e8318a
to
1710a07
Compare
As of now template generates this tests:
with exports that'll be set in shell for each one:
Details