X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoder%2Fpdtest;h=4c15f3dc7cd1f65d4aa0d9c6b7864e2d58da550e;hb=640aa0bc662ebe323f94815e80614beb72a952fa;hp=1c24e6c21af9d65080bb6495843dac67e1e5542d;hpb=6688fad431faf47bcfd310af65a8c753204ad883;p=sigrok-test.git diff --git a/decoder/pdtest b/decoder/pdtest index 1c24e6c..4c15f3d 100755 --- a/decoder/pdtest +++ b/decoder/pdtest @@ -62,7 +62,7 @@ def usage(msg=None): -l List test(s) -s Show test(s) -r Run test(s) - -f Fix failed test(s) + -f Fix failed test(s) / create initial output for new test(s) -c Report decoder code coverage -R Save test reports to Protocol decoder name ("i2c") and optionally test name ("i2c/rtc")""") @@ -561,7 +561,7 @@ ret = 0 try: if args: testlist = get_tests(args) - elif opt_all: + elif opt_all or opt_list: testlist = get_tests(os.listdir(tests_dir)) else: usage("Specify either -a or tests.")