diff options
author | Bert Vermeulen <bert@biot.com> | 2014-07-08 21:43:58 +0200 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2014-07-08 21:46:43 +0200 |
commit | 0d06305deb8d94dfddfef710004a500bf30fb1ff (patch) | |
tree | ab35f066d6bafc555ad4be6ce1ad60e6569b2885 /tests | |
parent | 84d7ecb947a8a6453fc0cb1d7973a821615dec54 (diff) | |
download | libsigrokdecode-0d06305deb8d94dfddfef710004a500bf30fb1ff.tar.gz libsigrokdecode-0d06305deb8d94dfddfef710004a500bf30fb1ff.zip |
pdtest: Use new exception output.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/pdtest | 2 |
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') |