mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-21 21:40:49 +02:00

Added readme for creating tests. Found and fixed interesting bugs in destroy_db when there is no world. renamed the testfile to testrunner to make it clear it is actually running the texts. Also, made testrunner more focused on the actual running of the tests. Added debug target to test makefile.
471 B
471 B
Files for tbaMUD.
To build
- run configure:
./configure
- build the code:
cd src && make
- run the mud:
cd ..; bin/circle 1234
- connect via telnet to port 1234.
Read more in the doc/ folder
To run the tests
- clone the munit library into src/munit. It is registered as a submodule in git
git submodule init && git submodule update
- install the cmocka-library:
sudo apt install libcmocka-dev
./config.status && cd src && make test