]> sigrok.org Git - libsigrokdecode.git/blobdiff - tests/runtc.c
pdtest/runtc: Support for output type 'exception'.
[libsigrokdecode.git] / tests / runtc.c
index 059262d3918660a83a9c5058bfa6ff802fa2388d..e376070bb1f7038655816cee075dd93007b74760 100644 (file)
@@ -759,6 +759,9 @@ int main(int argc, char **argv)
                                op->type = SRD_OUTPUT_BINARY;
                        else if (!strcmp(opstr[1], "python"))
                                op->type = SRD_OUTPUT_PYTHON;
+                       else if (!strcmp(opstr[1], "exception"))
+                /* Doesn't matter, we just need it to bomb out. */
+                               op->type = SRD_OUTPUT_PYTHON;
                        else {
                                ERR("Unknown output type '%s'", opstr[1]);
                                g_strfreev(opstr);