feat(hardware-testing): Added hardware testing usb package #13140
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.
Overview
The hardware-testing package is used for testing various parts of the Flex, however in order to use it you have to have a computer that has all of our packages, and dependencies and has been set up to run our software. This poses some friction as it requires a lot to get up and running. This pr solves this problem by creating a hardware-testing package, that can be run from a USB drive plugged directly into the Flex.
Test Plan
make -C hardware-testing setup-usb-module
and make sure it generates a /dist/hardware_testing_usb-*.tar.gz filemake -C hardware-testing setup-usb-module usb_dir="<usb dir>"
and make sure a hardware_testing_usb dir is extracted to the usb dir specified../setup.sh
from the Flex./setup teardown
and re-login.Changelog
setup-usb-module
to hardware-testing Makefile, which creates a USB packageReview requests
Risk assessment
Low, internal tooling