home · contact · privacy
Update READMEs.
[plomrogue] / test_server.sh
index de997d7373234e207a3b2bcf5d3fd893c4805bfa..94b360dc4edda86e91b53252940f0d9c3e759b61 100755 (executable)
@@ -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 &
@@ -22,6 +26,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