nexthopbmc: tests: add CIT version tests - #287
Open
nate-nexthop wants to merge 1 commit into
Open
Conversation
Summary:
Add basic version tests for nexthopbmc. Ths is checking the version of the
Linux kernel, U-Boot, and Yocto release version meet the requiements for FB-Lite platforms
# Test Plan
Run on a nexthopbmc with tests2 copied to /run/tests2:
$ python3 cit_runner.py --run-test tests.nexthopbmc.test_kernel_version
test_kernel_version (tests.nexthopbmc.test_kernel_version.KernelVersionTest.test_kernel_version) ... ok
----------------------------------------------------------------------
Ran 1 test in 0.020s
OK
$ python3 cit_runner.py --run-test tests.nexthopbmc.test_uboot_version_check
test_uboot_version_check (tests.nexthopbmc.test_uboot_version_check.UbootVersionCheck.test_uboot_version_check) ... ok
----------------------------------------------------------------------
Ran 1 test in 0.011s
OK
$ python3 cit_runner.py --run-test tests.nexthopbmc.test_yocto_version
test_yocto_version (tests.nexthopbmc.test_yocto_version.YoctoVersionTest.test_yocto_version) ... ok
----------------------------------------------------------------------
Ran 1 test in 0.045s
OK
|
This pull request has been imported. If you are a Meta employee, you can view this in D119349849. (Because this pull request was imported automatically, there will not be any future comments.) |
Contributor
Author
|
@ezeob002 FYI |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add basic version tests for nexthopbmc. Ths is checking the version of the Linux kernel, U-Boot, and Yocto release version meet the requiements for FB-Lite platforms
Motivation
Ensure that nexthopbmc meets the requirements for FB-Lite and doesn't regress.
Test Plan
Run on a nexthopbmc with tests2 copied to /run/tests2:
Please include a summary of the change and which issue is fixed.
Please include an explanation of why you these changes are necessary
Test Plan
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.