Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Allow running all test suites against locally built platform snap #215

Closed
farshidtz opened this issue May 22, 2023 · 0 comments · Fixed by #219
Closed

Allow running all test suites against locally built platform snap #215

farshidtz opened this issue May 22, 2023 · 0 comments · Fixed by #219
Labels
enhancement New feature or request

Comments

@farshidtz
Copy link
Member

farshidtz commented May 22, 2023

The LOCAL_SNAP environment variable is used for platform or the service snap, depending on the testing suite. The only way to run a device/app/support test against a particular platform snap revision is to use the revision number or branch from the store. This requires first uploading a locally built snap which is very resource consuming.

Example:

PLATFORM_CHANNEL=4259 go test ./test/suites/device-virtual
PLATFORM_CHANNEL=latest/edge/temp-branch go test ./test/suites/device-virtual

The requirement is to allow passing a local snap file path for running any testing suite.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant