home · contact · privacy
Fix testing script.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 16 Dec 2015 01:40:03 +0000 (02:40 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 16 Dec 2015 01:40:03 +0000 (02:40 +0100)
test_server.sh

index e1549598302eed29d152d524fc056bb4fd3a1973..edaca0d5d87b57813905e6f63359152cf4fccace 100755 (executable)
@@ -1,10 +1,12 @@
 #!/bin/sh
 
+set -e
+
 ./build.sh
 echo "Copying tested server script to ./tested_server.py."
 cp ./roguelike-server ./testing/tested_server.py
 echo "Copying tested C library source to ./tested_server_lib.c."
-cp ./src/server/libplomrogue.c ./testing/tested_server_lib.c
+cp .libplomrogue.c ./testing/tested_server_lib.c
 
 cp ./testing/start _test
 echo "Starting server on save file '_test' copied from ./testing/start."