sys.exit()
-def check_testcase(tc):
+def check_tclist(tc):
if 'pdlist' not in tc or not tc['pdlist']:
return("No protocol decoders")
if 'input' not in tc or not tc['input']:
tclist = []
else:
tclist = [target_tc]
- for t in tclist:
- error = check_testcase(t)
- if error:
- ERR("Error in %s: %s" % (path, error))
- return []
+ for t in tclist:
+ error = check_tclist(t)
+ if error:
+ ERR("Error in %s: %s" % (path, error))
+ return []
return tclist