@@ -827,6 +827,12 @@ def generate_test_summary(test_summary):
827
827
dest = 'firmware_global_name' ,
828
828
help = 'Set global name for all produced projects. E.g. you can call all test binaries firmware.bin' )
829
829
830
+ parser .add_option ('' , '--verbose-skipped' ,
831
+ dest = 'verbose_skipped_tests' ,
832
+ default = False ,
833
+ action = "store_true" ,
834
+ help = 'Prints some extra information about skipped tests' )
835
+
830
836
parser .add_option ('-v' , '--verbose' ,
831
837
dest = 'verbose' ,
832
838
default = False ,
@@ -921,18 +927,18 @@ def generate_test_summary(test_summary):
921
927
continue
922
928
923
929
if opts .test_only_peripheral and not test .peripherals :
924
- if opts .verbose :
930
+ if opts .verbose_skipped_tests :
925
931
print "TargetTest::%s::NotPeripheralTestSkipped()" % (target )
926
932
continue
927
933
928
934
if opts .test_only_common and test .peripherals :
929
- if opts .verbose :
935
+ if opts .verbose_skipped_tests :
930
936
print "TargetTest::%s::PeripheralTestSkipped()" % (target )
931
937
continue
932
938
933
939
if test .automated and test .is_supported (target , toolchain ):
934
940
if not is_peripherals_available (target , test .peripherals ):
935
- if opts .verbose :
941
+ if opts .verbose_skipped_tests :
936
942
test_peripherals = test .peripherals if test .peripherals else []
937
943
print "TargetTest::%s::TestSkipped(%s)" % (target , "," .join (test_peripherals ))
938
944
continue
0 commit comments