Commit 1b509e08 authored by Daniel Brown's avatar Daniel Brown
Browse files

added executable test for kat file

parent dbd0dd1c
...@@ -174,10 +174,12 @@ class FinesseTestProcess(Thread): ...@@ -174,10 +174,12 @@ class FinesseTestProcess(Thread):
if not os.path.exists(FINESSE_EXE): if not os.path.exists(FINESSE_EXE):
raise Exception("Kat file was not found in " + FINESSE_EXE) raise Exception("Kat file was not found in " + FINESSE_EXE)
out = None if os.access(FINESSE_EXE, os.X_OK)):
raise Exception("Kat file was not executable, could need higher privileges")
out = None
# check version numbers match up # check version numbers match upkat
out = utils.runcmd([FINESSE_EXE,"-v"]) out = utils.runcmd([FINESSE_EXE,"-v"])
# I am sure there is a regex expression that could make this # I am sure there is a regex expression that could make this
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment