summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2014-07-08 21:43:58 +0200
committerBert Vermeulen <bert@biot.com>2014-07-08 21:46:43 +0200
commit0d06305deb8d94dfddfef710004a500bf30fb1ff (patch)
treeab35f066d6bafc555ad4be6ce1ad60e6569b2885 /tests
parent84d7ecb947a8a6453fc0cb1d7973a821615dec54 (diff)
downloadlibsigrokdecode-0d06305deb8d94dfddfef710004a500bf30fb1ff.tar.gz
libsigrokdecode-0d06305deb8d94dfddfef710004a500bf30fb1ff.zip
pdtest: Use new exception output.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/pdtest2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pdtest b/tests/pdtest
index f70b743..55718be 100755
--- a/tests/pdtest
+++ b/tests/pdtest
@@ -379,7 +379,7 @@ def run_tests(tests, fix=False):
os.unlink(outfile)
if op['type'] == 'exception' and 'error' in results[-1]:
# filter out the exception we were looking for
- reg = "^Error: srd: Protocol decoder instance %s: %s:" % (op['pd'], op['match'])
+ reg = "^Error: srd: %s:" % op['match']
if re.match(reg, results[-1]['error']):
# found it, not an error
results[-1].pop('error')