-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Modify deployment for real hw tests
This patch modifies the test_build_and_deploy method to work even when testing with real hardware where the machine has already been pre-deployed in the model. The attaching of required resources after the bundle deployment is handled here as well. The test execution logic has also been slightly tweaked. If the --collectors option is provided, then ONLY the real hardware dependent tests will be executed (marked with the "realhw" marker, belonging to TestCharmWithHW). If the option not provided, the hardware independent tests (in TestCharm) will be executed. If full tests are required, a make target can be created which runs the pytest command with and without providing collectors. Some logic has also been added to ensure that the test_build_and_deploy function will run for both, hardware dependent and independent tests.
- Loading branch information
Showing
4 changed files
with
161 additions
and
21 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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