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>
diff --git a/scripts/sanitycheck b/scripts/sanitycheck
index 04588ef..79f0311 100755
--- a/scripts/sanitycheck
+++ b/scripts/sanitycheck
@@ -3868,6 +3868,12 @@
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))