]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/pdtest
Fix issue in -s output.
[sigrok-test.git] / decoder / pdtest
index 4c15f3dc7cd1f65d4aa0d9c6b7864e2d58da550e..1cc071f65c438682b39d00407afb165af597a3fd 100755 (executable)
@@ -485,7 +485,7 @@ def show_tests(tests):
                     for label, channel in pd['channels']:
                         print("    Channel %s=%d" % (label, channel))
                     for option, value in pd['options']:
-                        print("    Option %s=%d" % (option, value))
+                        print("    Option %s=%s" % (option, value))
                 if 'stack' in tc:
                     print("  Stack: %s" % ' '.join(tc['stack']))
                 print("  Input: %s" % tc['input'])