diff options
Diffstat (limited to 'tests/run-tests.py')
-rwxr-xr-x | tests/run-tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/run-tests.py b/tests/run-tests.py index 840bf5e..90a0b2d 100755 --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -34,6 +34,9 @@ if os.path.isfile('/usr/bin/valgrind') is not True: print('You need valgrind to run these tests :-)') exit() +print("Stopping ogServer service...") +subprocess.run(['systemctl', 'stop', 'ogserver']) + start_mysql(); subprocess.Popen(['valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --log-file=./valgrind-out.log ../ogserver -f config/ogserver.json'], shell=True) |