Commit Graph

182 Commits

Author SHA1 Message Date
Nils O. Selåsdal 94dcd522aa Pass the wqueue directly to the wqueue callback functions 2015-12-04 22:25:57 +01:00
Nils O. Selåsdal 877b2edf5b Free stuff in biffer/read_file tests 2015-12-01 23:16:47 +01:00
Nils O. Selåsdal 07e0032258 Free bitvec in bitvec test 2015-12-01 23:14:16 +01:00
Nils O. Selåsdal b025b8aec2 More coverage in iomux_signal test 2015-12-01 23:06:33 +01:00
Nils O. Selåsdal a314c624d1 make static, to not pollute globals 2015-12-01 23:02:27 +01:00
Nils O. Selåsdal 5b12583a89 Add iomux signal test 2015-12-01 23:01:24 +01:00
Nils O. Selåsdal 2b48fe9403 Add example for iomux signals 2015-11-30 20:34:32 +01:00
Nils O. Selåsdal 6a2ecdf2f4 Fix the wqueue header, and update example 2015-11-12 18:05:41 +01:00
Nils O. Selåsdal e7720cb232 Implement write queue for iomux 2015-11-10 19:42:53 +01:00
Nils O. Selåsdal f2fcb5e7e3 Add more checks to iomux test 2015-11-10 19:42:53 +01:00
Nils O. Selåsdal 4134482fdb Add iomux tests 2015-05-11 23:17:30 +02:00
Nils O. Selåsdal a7516141dd Fix dstr_own() when the dstr already holds a string. 2015-05-06 21:33:23 +02:00
Nils O. Selåsdal 99297b153c add usage() to the test_runner 2015-05-05 18:19:54 +02:00
Nils O. Selåsdal 70d5c2b600 Extend the mbuf queue test 2015-05-05 00:08:47 +02:00
Nils O. Selåsdal 5e2b1e2d0d Add mbuf enqueue/dequeue functions 2015-05-05 00:06:28 +02:00
Nils O. Selåsdal 7f716e9ede Add a few more dbuf tests 2015-04-30 16:36:29 +02:00
Nils O. Selåsdal 72dcd6e82c Add not about the CK_FORK env variable 2015-04-30 16:36:15 +02:00
Nils O. Selåsdal f0c829a6c9 Added a main() to atomic.c 2015-01-03 02:11:12 +01:00
Nils O. Selåsdal 603d86bb61 Remove stdio.h from utils.h. Manually include stdio.h if using the
TRACEF() macro from utils.h
2015-01-03 01:52:53 +01:00
Nils O. Selåsdal 8c36756170 Increase timeout on thread queue test to make it pass on the slow
raspberrypis
2014-11-10 21:05:45 +01:00
Nils O. Selåsdal 9bd1336d26 have LOGF macros add a newline, so user code doesn't need to. 2014-10-06 21:52:28 +02:00
Nils O. Selåsdal 33b48c4276 More checks on test_mbuf_static 2014-09-29 21:29:02 +02:00
Nils O. Selåsdal 6247bcbdfd Also build a shared library 2014-09-29 20:51:29 +02:00
Nils O. Selåsdal 045d7c2463 Improve doxygen comments 2014-09-15 21:13:43 +02:00
Nils O. Selåsdal 5f89edc0d9 Fic includes to use "" instead of <> 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal b39cabc055 Link with libm and librt, required for older glibc. No harm on newer 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 131bfc5da6 Add uc_restart_counter concept 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 6689fa9969 Initialize the ticket lock 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal eacdd947e5 Add a few more UCStrVal functions 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal a27711e3bd Atomic example, used to inspect assembly code.. 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 6c7cb5c0ab Print error if no test cases are run 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 0741b42a44 Add a sched_yeild in tocket lock test.. 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 6c8e403a38 Test heapsorting 1 element 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 157dca7997 Add test for ticket locks 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 95749c5b7d Add iomux_from_timers() function to recover an IOMux from
the associated UCTimers
2014-09-12 01:11:40 +02:00
Nils O. Selåsdal 0e296ce7e5 Add init method to dstr for initializing directyl from a string
Change the api so _put_ functions that copy in data are named "_append_"
instead.
2014-09-12 01:11:40 +02:00
Nils O. Selåsdal 7bd1074c1d Initial attempt of log rotation based on file sizes 2014-09-12 01:11:40 +02:00
Nils O. Selåsdal edde6ec7b6 Use TailQ instead of sys/queue.h in the logging module 2014-09-12 01:11:40 +02:00
Nils O. Selåsdal 633635851d Set errno to 0, for consistent results 2014-09-12 01:11:39 +02:00
Nils O. Selåsdal 857c2018b9 Change library suffix from _debug to D for debug build.
And no suffix for a release build.
2014-09-12 01:11:39 +02:00
Nils O. Selåsdal 0f25a0f565 Add a string/string mapper struct 2014-09-12 01:11:39 +02:00
Nils O. Selåsdal 39290eefb7 Rename the value string functions to be a bit mroe sensible 2014-09-12 01:11:39 +02:00
Nils O. Selåsdal dfe219b649 Add an unsigned int/string pair type, modelled on the value string of
wireshark
2014-09-12 01:11:39 +02:00
Nils O. Selåsdal f1b1ceadca Merge branch 'master' into dev 2014-01-26 00:59:08 +01:00
Nils O. Selåsdal 7c271c1b52 Support libcheck version 0.9.8 as shipped on RHEL 6.4 2014-01-26 00:58:11 +01:00
Nils O. Selåsdal 0e2d4f07c3 Adhere to coding style in logging module (struct uc_log_destination->
struct UCLogDestination, and similar for other structs)
2014-01-07 23:39:01 +01:00
Nils O. Selåsdal 423c21bee2 Use a separate variable for the exit condition 2013-12-24 02:30:22 +01:00
Nils O. Selåsdal 89802286c4 Add iomux_wake example 2013-12-24 01:56:42 +01:00
Nils O. Selåsdal ddf82372e1 Include test when NDEBUG is not defined (checking for DEBUG was
the wrong thing to do when building in release with assertions on)
2013-12-18 18:40:55 +01:00
Nils O. Selåsdal a681e9044f Use UC_TAILQ in udp_heartbeat 2013-12-10 23:08:05 +01:00