Skip to content
Snippets Groups Projects
Commit 2bec02d8 authored by Daniel Brown's avatar Daniel Brown
Browse files

changing exception case

parent 82cfc3e4
No related branches found
No related tags found
No related merge requests found
...@@ -27,11 +27,13 @@ def initProcess(dkats): ...@@ -27,11 +27,13 @@ def initProcess(dkats):
done_kats = dkats done_kats = dkats
def run_kat_file(item): def run_kat_file(item):
kat = item["kat"]
suite = item["suite"]
try:
#print os.getpid(),"getting kat...",item["kat"] #print os.getpid(),"getting kat...",item["kat"]
global done_kats global done_kats
kat = item["kat"]
suite = item["suite"]
FINESSE_EXE = item["FINESSE_EXE"] FINESSE_EXE = item["FINESSE_EXE"]
SUITE_PATH = item["SUITE_PATH"] SUITE_PATH = item["SUITE_PATH"]
SUITE_OUTPUT_DIR = item["SUITE_OUTPUT_DIR"] SUITE_OUTPUT_DIR = item["SUITE_OUTPUT_DIR"]
...@@ -71,6 +73,9 @@ def run_kat_file(item): ...@@ -71,6 +73,9 @@ def run_kat_file(item):
done_kats.value += 1 done_kats.value += 1
return [time.time()-start, suite, kat, exp] return [time.time()-start, suite, kat, exp]
except Exception as e:
print "main error in kat call",e
return [0,suite,kat,NULL]
class DiffException(Exception): class DiffException(Exception):
def __init__(self, msg, outfile): def __init__(self, msg, outfile):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment