mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-05-01 16:27:19 +02:00
Major plugin refactor and cleanup.
Switched to POCO library for unified platform/library interface. Deprecated the external module API. It was creating more problems than solving. Removed most built-in libraries in favor of system libraries for easier maintenance. Cleaned and secured code with help from static analyzers.
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
# in order for this script to work, docker must be installed
|
||||
MYSQL_DOCKER_VER=latest
|
||||
|
||||
# trying to conect prematurely will fail, 10s should be enough wait time
|
||||
MYSQL_DB_START_WAIT=10
|
||||
|
||||
echo "running poco-test-mysql docker container"
|
||||
docker run -p 3306:3306 --name poco-test-mysql -e MYSQL_ROOT_PASSWORD=poco -e MYSQL_DATABASE=pocotestdb -d mysql:$MYSQL_DOCKER_VER > /dev/null
|
||||
|
||||
echo "poco-test-mysql container up and running, sleeping $MYSQL_DB_START_WAIT seconds waiting for db to start ..."
|
||||
sleep $MYSQL_DB_START_WAIT
|
||||
|
||||
echo "running tests ..."
|
||||
./bin/Linux/x86_64/testrunner -all
|
||||
|
||||
echo "stopping poco-test-mysql docker container"
|
||||
docker stop poco-test-mysql > /dev/null
|
||||
|
||||
echo "removing poco-test-mysql docker container"
|
||||
docker rm poco-test-mysql > /dev/null
|
||||
|
||||
Reference in New Issue
Block a user