From: Christian Heller Date: Sun, 15 Mar 2015 15:22:15 +0000 (+0100) Subject: Improve testing script. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/day?a=commitdiff_plain;h=1a7473d8352bd2182e8f6db95990fdc872171138;p=plomrogue Improve testing script. --- diff --git a/test_server.sh b/test_server.sh index 83dc5de..94b360d 100755 --- a/test_server.sh +++ b/test_server.sh @@ -1,5 +1,9 @@ #!/bin/sh +./redo +cp ./roguelike-server ./testing/tested_server +cp ./src/server/libplomrogue.c ./testing/tested_server_lib.c + cp ./testing/start _test echo "Starting server on save file '_test' copied from ./testing/start." python3 -m cProfile -o ./testing/cProfile roguelike-server -l _test &