Ramakrishna Pallala
c1200cd3e2
tests: posix: fs: Add description for test cases
...
Add description for POSIX File System API test cases.
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
2018-05-18 17:01:41 +03:00
Ramakrishna Pallala
55cf6dd76c
tests: posix: Add test for Posix File System API's
...
Added a test to verify Posix File System API's.
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
2018-05-18 13:32:36 +03:00
Andy Gross
5575487da6
tests: posix: Fix sigevent initialization
...
This patch fixes a couple of coverity issues pertaining to
uninitialized members of a sigevent structure.
Coverity-ID: 183070
Coverity-ID: 185276
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2018-05-11 16:52:19 -04:00
Anas Nashif
0f5a88b0ef
tests: posix: mqueue remove extra printk
...
Remove useless printk at the end of the tests.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-04-25 14:18:15 +05:30
Anas Nashif
89a50932d3
tests: posix: style, tag, and category fixes
...
Fix coding style, test tags and use categories.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-04-25 14:18:15 +05:30
Anas Nashif
8e8d6de6f7
tests: posix: fix tags and sections
...
Improve tagging and fix test names.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-04-09 22:55:20 -04:00
Ramakrishna Pallala
46931c9a44
tests: posix: Resolve header file dependencies
...
Fixed header file dependencies by reordering the
inclusion sequence in posix tests.
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
2018-04-05 16:43:05 -04:00
Niranjhana N
80e221618d
tests: posix: add more tests
...
Added posix_checks, which checks supported priorities,
clocks and timer APIs, mainly in the point of negative
tests to increase code coverage.
Signed-off-by: Niranjhana N <niranjhana.n@intel.com>
2018-04-03 15:57:14 -04:00
Niranjhana N
2ecaee071c
tests: posix: Fixing pthread attr object initialization.
...
In some cases pthread attrib initialization may fail as
garbare value may indicate that this attribute is already
initialized. Destroy the attr object and recreate it.
Signed-off-by: Niranjhana N <niranjhana.n@intel.com>
2018-04-03 15:57:14 -04:00
Youvedeep Singh
2486d5a2d2
tests: posix: mqueue: Add test for posix message queue APIs.
...
Added new test for message queue APIs.
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
2018-04-03 15:30:44 -04:00
Juan Manuel Torres Palma
4aa49053f6
tests: posix: fix semaphore.h test
...
Previous implementation was buggy, destroying
resources with pending thread and race conditions.
New version tests basic functionality with 2
threads and basic synchronization.
Signed-off-by: Juan Manuel Torres Palma <j.m.torrespalma@gmail.com>
2018-03-21 14:27:47 -07:00
Punit Vara
9edc7ce490
tests: semaphore: test APIs
...
Test sem_destroy and sem_trywait.
Signed-off-by: Punit Vara <punit.vara@intel.com>
2018-03-10 21:30:14 -05:00
Youvedeep Singh
dbb6511c90
tests: posix: pthread_cancel: Added some APIs in test.
...
Added some APIs in test to increase code coverage.
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
2018-03-07 08:23:09 -05:00
Youvedeep Singh
5dd4ac9270
tests: posix: timer: Added some APIs in test.
...
Added some APIs in test to increase code coverage.
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
2018-03-07 08:23:09 -05:00
Youvedeep Singh
38a9a36b3e
tests: posix: pthread_rwlock: Added more APIs in test.
...
Added some APIs in test to increase in code coverage.
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
2018-03-07 08:23:09 -05:00
Anas Nashif
f6558f57c9
tests: pthread: use posix semaphore
...
Now that we have sempahores, use them in the thread test.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-03-06 22:40:04 -05:00
Anas Nashif
0a59c6b30a
tests: posix: add negative testing for semaphore
...
More asserts on API calls and error handling.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-03-06 22:40:04 -05:00
Anas Nashif
d5e8a2c5a1
tests: posix: fix test names in yaml
...
Use meaningful test names.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-03-06 22:40:04 -05:00
Anas Nashif
13e1718660
tests: move posix layer tests out of kernel
...
Put everything under tests/posix, this is not stirctly part of the
kernel.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-03-06 22:40:04 -05:00
Punit Vara
0306344f59
tests: add semaphore posix API test
...
This test case tests posix APIs which are implemented for semaphore.
Signed-off-by: Punit Vara <punit.vara@intel.com>
2018-03-05 20:51:36 -05:00