aboutsummaryrefslogtreecommitdiffstats
path: root/tests/README
diff options
context:
space:
mode:
Diffstat (limited to 'tests/README')
-rw-r--r--tests/README38
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/README b/tests/README
new file mode 100644
index 0000000..f530c8a
--- /dev/null
+++ b/tests/README
@@ -0,0 +1,38 @@
+Compilation
+-----------
+
+After installation, you can use pkg-config to compile these tests.
+For example, to compile random-test-server run:
+
+gcc random-test-server.c -o random-test-server `pkg-config --libs --cflags libmodbus`
+
+random-test-server
+-----------------
+It's necessary to launch this server before run random-test-client. By
+default, it receives and responses to Modbus query on the localhost
+and port 1502.
+
+random-test-client
+------------------
+This programm sends many different queries to a large range of
+addresses and values to test the communication between the client and
+the server.
+
+unit-test-server
+unit-test-client
+----------------
+By default, this program sends some queries with the values defined in
+unit-test.h and checks the responses. These programs are useful to
+test the protocol implementation.
+
+bandwidth-server-one
+bandwidth-server-many-up
+bandwidth-client
+-----------------------
+It returns some very useful informations about the performance of
+transfert rate between the server and the client.
+
+- bandwidth-server-one: it can handles only one connection with a client.
+- bandwidth-server-many-up: it opens a connection each time a new client asks
+ for, but the number of connection is limited. The same server process handles
+ all the connections.
n/wavemon.git/commit/debian/control?h=debian/0.7.6-2&id=993a2a90229216d8f3d57537dc702e3fc9fc25b8&follow=1'>Remove DMUA flag from d/controlJonathan McCrohan2-1/+7 2012-06-29Release 0.7.5-3debian/0.7.5-3Jonathan McCrohan1-2/+2 2012-06-29Set DM-Upload-Allowed flagNicholas Breen2-0/+5 2012-06-25Backport upstream commit eeaf804Jonathan McCrohan4-43/+56 2012-06-10Release 0.7.5-2debian/0.7.5-2Jonathan McCrohan1-2/+2 2012-06-10Added 01-pass-cppflags-and-ldflags-to-compiler.patch to enable build hardeningJonathan McCrohan4-3/+48 2012-06-10Bump debhelper to v9Jonathan McCrohan3-3/+4 2012-06-09Mark as linux-any to save CPU cycles on KFreeBSD/Hurd builddsJonathan McCrohan2-1/+7 2012-05-06Release 0.7.5-1debian/0.7.5-1Jonathan McCrohan1-0/+7 2012-05-06Imported Upstream version 0.7.5upstream/0.7.5Jonathan McCrohan12-44/+218 2012-03-06Release 0.7.4-1debian/0.7.4-1Jonathan McCrohan4-157/+10 2012-03-05Imported Upstream version 0.7.4upstream/0.7.4Jonathan McCrohan13-134/+244 2012-02-26Update 02-fix-wavemonrc.5-man-errors.patchdebian/0.7.3-1Jonathan McCrohan1-14/+23 2012-02-26Switch to dh-style rules.Jonathan McCrohan3-10/+4 2012-02-21Refresh patchesJonathan McCrohan3-1/+149 2012-02-21Refresh changelogJonathan McCrohan1-4/+5 2012-02-21Add details to patch.Jonathan McCrohan1-0/+5 2012-02-06Promote myself to maintainer.Jonathan McCrohan3-9/+8 2012-02-05Change to dpkg-source 3.0Jonathan McCrohan1-2/+2 2012-02-05Update broken handcrafted patchJonathan McCrohan1-2/+2 2012-02-05Use 3.0 (quilt)Jonathan McCrohan2-2/+2 2012-02-05Use 3.0 (quilt)Jonathan McCrohan3-0/+13 2012-02-05Use quiltJonathan McCrohan3-6/+9 2012-02-05Update changelogJonathan McCrohan1-1/+6 2012-02-05clean up packagingJonathan McCrohan2-2/+1 2012-02-05fix errorsJonathan McCrohan3-10/+3 2012-02-05Undo accidental source changesJonathan McCrohan2-9/+9 2012-02-05Add patch to remove copyingJonathan McCrohan2-1/+9