X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/form?a=blobdiff_plain;ds=sidebyside;f=test_server.sh;h=de997d7373234e207a3b2bcf5d3fd893c4805bfa;hb=41d0e36cde41250d261ad5a57feacdf3b9162dd2;hp=01e354a8dbb56db5a7e8a34a4ca47251fd8d218d;hpb=af8892db6de03733360f8ae7a3a7eb18ff6952e5;p=plomrogue diff --git a/test_server.sh b/test_server.sh index 01e354a..de997d7 100755 --- a/test_server.sh +++ b/test_server.sh @@ -2,7 +2,7 @@ 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 > ./testing/log 2>&1 & +python3 -m cProfile -o ./testing/cProfile roguelike-server -l _test & echo "Waiting until ./server/in is ready for writing." while [ ! -e ./server/in ] @@ -22,6 +22,6 @@ done echo "Server has quit. Here's the diff of final '_test' to reference save file" echo "./testing/ref_end (TEST WENT WELL IF NO LINES FOLLOW):" mv _test testing/last_end -diff testing/last_end testing/ref_end +#diff testing/last_end testing/ref_end rm record__test