diff --git a/pykat/testing/test.py b/pykat/testing/test.py index 4d6f601268b1015cb87b20f4f473181fdc02ea68..9d1b76e21019b3568af2164d824ea89dcb205a59 100644 --- a/pykat/testing/test.py +++ b/pykat/testing/test.py @@ -174,10 +174,12 @@ class FinesseTestProcess(Thread): if not os.path.exists(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"]) # I am sure there is a regex expression that could make this