X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=test_server.sh;h=389e39ec6dbd9f51cad37e7c1e48e93cf054c9e4;hb=02a9c0dd721b5e023f5a0cc784ea44f398fdbe8f;hp=83dc5deb8a4bccfccf601bbe63db948bb6a5e6c8;hpb=d0373bc682e1619555ee94fb09eeacc251001e04;p=plomrogue
diff --git a/test_server.sh b/test_server.sh
index 83dc5de..389e39e 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 &
@@ -23,5 +27,6 @@ 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
+#echo 'NODIFF'
rm record__test