summaryrefslogtreecommitdiffstats
path: root/tests/auto/runautotests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/runautotests.py')
-rwxr-xr-xtests/auto/runautotests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/runautotests.py b/tests/auto/runautotests.py
index fbb273a71..7aba65213 100755
--- a/tests/auto/runautotests.py
+++ b/tests/auto/runautotests.py
@@ -149,6 +149,11 @@ def runAllTests(test):
#Set path to this if on Windows
if(os.name=="nt"):
exePath = test+"\\"+filename+"\\debug\\tst_"+filename+".exe"
+ #Set path on OS X
+ if(sys.platform=="darwin"):
+ exePath = test +"/"+filename+"/tst_"+filename
+ if not (os.path.exists(exePath)):
+ exePath = test + "/"+filename+"/tst_"+filename+".app/Contents/MacOS/tst_"+filename
#Set path to this if on Unix
else:
exePath = test +"/"+filename+"/tst_"+filename