likun17
|
009c9ad13f
|
apps/system/uorb/test/unit_test.c: add orb_copy return judgment.
Signed-off-by: likun17 <likun17@xiaomi.com>
|
2023-09-23 13:18:52 +08:00 |
|
Xiang Xiao
|
054cf3b1cb
|
Change all sizeof(arr)/sizeof(arr[0]) to nitems
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2023-08-17 22:51:51 +03:00 |
|
Xiang Xiao
|
7c37421266
|
Replace all sprintf with snprintf
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2023-05-08 21:35:16 +03:00 |
|
Xiang Xiao
|
a29d9ea9da
|
fsutils/examples: Include unistd.h explicitly
to get the prototypes or macros are defined in it
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2023-02-05 08:46:59 +02:00 |
|
Xiang Xiao
|
de26582775
|
system/uorb: Pass NULL to task_create directly
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-08-16 09:47:17 +03:00 |
|
jihandong
|
2b8bfc5be7
|
app/system/uorb: modify unit test to support data persist
Signed-off-by: jihandong <jihandong@xiaomi.com>
|
2022-07-23 16:57:58 -03:00 |
|
Jiuzhu Dong
|
d44dd1c426
|
uorb_unit_test: optimize stack used
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
|
2022-07-23 16:57:58 -03:00 |
|
jihandong
|
d8d1e1e761
|
apps/system/uorb: c unit testcases
testcases:
1. test_single(): single instance, advertise then subscribe.
2. test_multi_inst10(): 10 instance, each 1 subscriber.
3. test_multi(): 2 instances, 2 advertisers, 2 subscribers.
4. test_multi_reversed(): same as test_multi(), but subsribe before
advertise.
5. test_unadvertise(): unadvertise upper 4 advertisers.
6. test_multi2(): same as tset_multi(). but multi-thread.
7, test_queue(): topic queue_size = 16.
Signed-off-by: jihandong <jihandong@xiaomi.com>
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
|
2022-07-23 16:57:58 -03:00 |
|