Commit Graph

198 Commits

Author SHA1 Message Date
Nils O. Selåsdal 6d7b80a6d2 Build on osx 2025-07-16 00:50:07 +02:00
Nils O. Selåsdal c0d46d31fb fix test/salloc_align.c 2025-07-16 00:40:14 +02:00
Nils O. Selåsdal e4a3654d98 osx cmake wip 2025-07-16 00:39:20 +02:00
Nils O. Selåsdal 0f6f6d4ccc Merge branch 'master' of https://sdal.tech/gitea/noselasd/libucore into cmake 2025-07-16 00:10:44 +02:00
Nils O. Selåsdal 1f6dee3a9a Tidy up ringbuf and make tests 2025-07-05 20:03:24 +02:00
Nils O. Selåsdal fb8979d695 Update tests for new check library & osx 2025-06-28 00:56:58 +02:00
Nils O. Selåsdal 55846a0e42 Initial conversion to CMake 2016-10-02 21:39:02 +02:00
Nils O. Selåsdal c520b6caec Leave to SConscript files to decide default targets 2016-03-14 12:18:31 +01:00
Nils O. Selåsdal 0a34c799ce Add gettokens test for double " 2016-03-09 00:37:10 +01:00
Nils O. Selåsdal 21703ded30 prefux gettokens/getfields with uc_ 2016-03-09 00:10:23 +01:00
Nils O. Selåsdal c3c9f25dc6 Add tests for getfields and gettokens 2016-03-09 00:06:59 +01:00
Nils O. Selåsdal 28d56d64f6 Merge branch 'dev' of ssh://box/var/lib/git/libucore into dev 2016-03-07 22:14:07 +01:00
Nils O. Selåsdal d70ab1fe09 Use ck_assert_int_eq instead of ck_assert_uint_eq for compatibility
with older check version
2016-02-08 13:35:47 +01:00
Nils O. Selåsdal d6c3cfb973 Use ck_assert_int_eq instead of ck_assert_uint_eq for compatibility
with older check version
2016-02-08 13:34:22 +01:00
Nils O. Selåsdal db78689015 Add uc_strv_reverse 2015-12-10 19:13:16 +01:00
Nils O. Selåsdal 44d8d10d35 Exampel code for pipe 2015-12-10 12:31:20 +01:00
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