summaryrefslogtreecommitdiffstats
path: root/tests/run-tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-tests.py')
-rwxr-xr-xtests/run-tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run-tests.py b/tests/run-tests.py
index 126105d..1a59a34 100755
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -26,6 +26,10 @@ if os.getuid() is not 0:
print('You need to be root to run these tests :-)')
exit()
+if os.path.isfile('../ogAdmServer') is not True:
+ print('You need to build the ogAdmServer binary to run these tests :-)')
+ exit()
+
start_mysql();
subprocess.Popen(['../ogAdmServer', '-f', 'config/ogAdmServer.cfg'])