This is a script for validating the properties of a BACnet device and its objects. It is recommended to have Docker installed to run this, but the script is runnable without Docker.
- $EXPECTED - A path containing a
device.txt
which contains expected device property values. - $SKIP_READ - Optional. When set, makes
tests.sh
skip the read property portion of the unit testing.
Simply run docker-compose up
.
- GCC
- Git
- Make
- Run
git clone https://git.code.sf.net/p/bacnet/src
. - Inside the directory created from the clone, run
make
. - Add the
bin
directory to your$PATH
.
With all that set up, running ./tests.sh
will invoke the testing.