<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ouroboros/src/lib/tests/CMakeLists.txt, branch 0.2</title>
<subtitle>Ouroboros main repository</subtitle>
<id>http://www.ouroboros.rocks/cgit/ouroboros/atom?h=0.2</id>
<link rel='self' href='http://www.ouroboros.rocks/cgit/ouroboros/atom?h=0.2'/>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/'/>
<updated>2016-06-29T14:04:19+00:00</updated>
<entry>
<title>lib, ipcpd: removed du_buff and pci</title>
<updated>2016-06-29T14:04:19+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-06-29T13:54:23+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=d85f211d53a0cb35a756d0c44a2b28807eff4e5d'/>
<id>urn:sha1:d85f211d53a0cb35a756d0c44a2b28807eff4e5d</id>
<content type='text'>
Fixes #3
</content>
</entry>
<entry>
<title>lib/test: removed the test for the shm_du_map</title>
<updated>2016-05-09T14:57:47+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-05-09T14:57:47+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=9f401b25899c84e6d0636d848ba8bf8520e64d47'/>
<id>urn:sha1:9f401b25899c84e6d0636d848ba8bf8520e64d47</id>
<content type='text'>
The test had a synchronisation issue. Due to rebuild of the shm_du_map
for random access, there was also a hack in the shm_du_map
specifically to run this test. Because of this hack, the decision was
made to drop this test.
</content>
</entry>
<entry>
<title>build: Cleanup of tests build</title>
<updated>2016-04-01T13:00:56+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-03-31T22:55:23+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=3d859bb9a75932a6cffdd37466d510b479c9aa71'/>
<id>urn:sha1:3d859bb9a75932a6cffdd37466d510b479c9aa71</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib: Shared Memory</title>
<updated>2016-03-24T19:51:55+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-03-24T19:51:55+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=0dd4526f5c75f23aba886bee2d9850a70aa67ca8'/>
<id>urn:sha1:0dd4526f5c75f23aba886bee2d9850a70aa67ca8</id>
<content type='text'>
Updated tests. Added code to drop a corner case (packet where the tail
PCI would cross the edge of the ring buffer) because solving this very
rare case is not worth the performance hit on the ringbuffer the extra
code would incur. This means the ringbuffer might drop a very small
percentage of packets.
</content>
</entry>
<entry>
<title>lib: shared memory map</title>
<updated>2016-03-19T12:53:52+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-03-19T12:40:03+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=7712e3ea9fc6772b47f593acbe3088cae01c16d2'/>
<id>urn:sha1:7712e3ea9fc6772b47f593acbe3088cae01c16d2</id>
<content type='text'>
The shared memory map will allow passing SDU's between IPCPs
efficiently. It is a single block of managed memory. SDU's are stored
in a shm_du_buff datastructure, which is a list of blocks inside the
shared memory region. The mechanism for passing SDU's is not yet
implemented and could be either within the region or using another
local IPC mechanism.

The following things are configured at compile time:

SHM_FILE_NAME         : the name. Default is "ouroboros_du_map".
SHM_DU_BUFF_BLOCK_SIZE: size of a block inside the shared memory
                        region. Default is the pagesize of the system.
SHM_DU_MAP_SIZE       : the approximate size in bytes of the shared
                        memory map. The actual filesize may differ by
                        a small margin. Default is 4MB.
</content>
</entry>
<entry>
<title>lib: Add bitmap test</title>
<updated>2016-03-09T15:56:12+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@intec.ugent.be</email>
</author>
<published>2016-03-09T15:53:46+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=a480c3510f98c491879d42ff7106287f07d03e2f'/>
<id>urn:sha1:a480c3510f98c491879d42ff7106287f07d03e2f</id>
<content type='text'>
This adds a test for the bitmap. During the testing I also removed
some bugs that were present in the bitmap implementation.
</content>
</entry>
<entry>
<title>lib: Updated du_buff test</title>
<updated>2016-03-08T10:18:47+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-03-08T10:18:47+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=5f249bae0ca8fbdf81aa2ab78ce0f5efc7c35f38'/>
<id>urn:sha1:5f249bae0ca8fbdf81aa2ab78ce0f5efc7c35f38</id>
<content type='text'>
Tests should have "_test.c" appended and include the source they are
testing. The build system will find it in the parent directory.
Removed linked_list example test as it is now useless.
</content>
</entry>
<entry>
<title>tests: added test for the du_buff structure</title>
<updated>2016-03-08T08:25:16+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-03-08T07:37:35+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=f94912a3ea1025c689a5336a1fdc807baa8fa36f'/>
<id>urn:sha1:f94912a3ea1025c689a5336a1fdc807baa8fa36f</id>
<content type='text'>
tests/du_buff.c: tests the du_buff_t structure by creating different
                 size du_buff_t's and filling it with different size
                 sdu's at different locations in the du_buff_t

tests/CMakefile.txt: added du_buff test

lib/du_buff.c: fixed unsafe #define adding brackets
</content>
</entry>
<entry>
<title>build: Add check target, fix packaging</title>
<updated>2016-03-07T14:13:34+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@intec.ugent.be</email>
</author>
<published>2016-03-07T14:13:34+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=f9c16675dc625c124345bb440aa9604af61ddb8d'/>
<id>urn:sha1:f9c16675dc625c124345bb440aa9604af61ddb8d</id>
<content type='text'>
This adds a build target 'check', which executes a test suite for
every daemon/library. Every test suite consists of a test driver that
executes a function in a file with the same name as the function. The
compile_debug script executes the 'check' target to validate there are
no regressions. Packaging is also fixed and the prototype can be
shipped as a tarball.
</content>
</entry>
</feed>
