Gitlab CI - Debugging
[tpg/opendispense2.git] / RunServerTest
index 5bedb53..a72a3fa 100755 (executable)
@@ -2,6 +2,19 @@
 
 ARGS="--itemsfile items.cfg -p 11020"
 ARGS=$ARGS" --cokeport /dev/ttyUSB0"
+ARGS=$ARGS" -d 2"
+
+if [ "x$2" != "x" ]; then
+       _cokebank=$1
+else
+       _cokebank="sqlite"
+fi
+
+rm cokebank.so
+rm cokebank.db
+
+ln -s cokebank_$_cokebank.so cokebank.so
+ln -s cokebank_$_cokebank.db cokebank.db
 
 if [ "x$1" = "xdbg" ]; then 
        LD_LIBRARY_PATH=. gdb --args ./dispsrv $ARGS

UCC git Repository :: git.ucc.asn.au