Add dependency checks for SOS.

Review Request #12551 — Created Aug. 18, 2022 and submitted

chipx86
RBTools
release-4.x
rbtools

This updates SOSClient to add formal support for dependency checks.
SOSClient.check_dependencies() now determines if soscmd is
installed.

SOSClient.get_local_path() now calls this instead of checking for
dependencies itself, emitting a warning if dependencies haven't already
been checked via setup() or has_dependencies().

SOS unit tests simulated results, so the test skipping abilities are not
used. New tests have been added to test the SOS dependency check
functionality.

Unit tests pass for Python 3.7-3.11.

Summary
Add dependency checks for SOS.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.x (5ca547e)
Loading...