sanitycheck: summarize device testing targets before starting

Confirm to the user what devices were found and where they are before
starting a long run that might not have found everything it was supposed
to test.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
Peter Bigot 2019-11-21 12:00:18 -06:00 committed by Anas Nashif
commit 3d46ea5946

View file

@ -3868,6 +3868,12 @@ def main():
info("%d test configurations selected, %d configurations discarded due to filters." %
(len(suite.instances), len(discards)))
if options.device_testing:
print("\nDevice testing on:")
for p in suite.connected_hardware:
if p['connected']:
print("%s (%s) on %s" %(p['platform'], p.get('id', None), p['serial']))
if options.dry_run:
duration = time.time() - start_time
info("Completed in %d seconds" % (duration))