summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* psxftw01: Simplify and use rtems_test_run()Sebastian Huber2023-12-141-56/+6
|
* psx13: Fix use of uninitialized variable warningSebastian Huber2023-09-261-0/+2
|
* psxkey07: Fix POSIX key value pair configurationSebastian Huber2023-08-041-22/+20
| | | | | | | Make sure we have enough POSIX key value pairs available. This fixes a test failure on some targets. Make objects and functions static. Initialize variable to get rid of warnings.
* Update company nameSebastian Huber2023-05-2017-17/+17
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* psxrwlock01: Use an initilized lock for testsSebastian Huber2022-10-071-8/+20
| | | | Close #4738.
* pthread_atfork(): Change to behavior from FACE Technical StandardJoel Sherrill2022-09-062-3/+9
| | | | Closes #4713.
* psxkey07/init.c: Add pragma for gcc 12 warningRyan Long2022-08-191-2/+9
| | | | Updates #4662
* psxclock/init.c: Change print format for warningRyan Long2022-08-191-1/+1
| | | | Updates #4662
* psxtimer_face01: Improve coverage and documentationJoel Sherrill2022-08-113-6/+52
| | | | Updates #4691.
* psxtimer0[12]/psxtimer.c: Reformat file header.Joel Sherrill2022-08-102-6/+12
|
* Add support for CONFIGURE_POSIX_TIMERS_FACE_BEHAVIORJoel Sherrill2022-08-103-0/+132
| | | | | | | | | This adds the configure option CONFIGURE_POSIX_TIMERS_FACE_BEHAVIOR which allows the application to choose whether to have the POSIX timer_create() function follow the behavior defined by POSIX or the FACE Technical Standard. Updates #4691.
* testsuite/psxclock: Check setting realtime clock does not effect sleeping tasksChris Johns2022-08-051-1/+171
| | | | Closes #4690
* score: Use PTHREAD_CANCELED for _Thread_Cancel()Sebastian Huber2022-07-281-1/+1
| | | | | | | | | | The rtems_task_delete() directive is basically just a combined pthread_cancel() and pthread_join(). In addition, it removes the PTHREAD_DETACHED state. The exit value returned by pthread_join() of threads cancelled by rtems_task_delete() should reflect this by getting a PTHREAD_CANCELED value instead of NULL which could be a normal exit value. Close #4680.
* score: Use priority inheritance for thread joinSebastian Huber2022-07-282-0/+120
| | | | | | | | | | | | | | | | | | | | | Threads may join the thread termination of another thread using the pthread_join() or rtems_task_delete() directives. The thread cancel operation used a special case priority boosting mechanism implemented by _Thread_Raise_real_priority(). The problem was that this approach * is not transitive, * does not account for priority adjustments of the calling task while waiting for the join, * does not support clustered scheduling, and * does not detect deadlocks. All these problems are fixed by using a priority inheritance thread queue for the join operation. Close #4679.
* psxconfig01: Increase region areaSebastian Huber2022-07-271-1/+1
| | | | This fixes a test failure on 64-bit systems with RTEMS_DEBUG enabled.
* testsuite: Fix gcc 12 warningsChris Johns2022-06-2156-84/+85
|
* psxtests: Adding file headers and licensesRyan Long2022-04-277-0/+245
| | | | | These files had no file header, copyright, or license. Based on git history, added appropriate copyrights and licenses.
* testsuites/psxtests/psxhdrs/unistd/*: Change license to BSD-2Joel Sherrill2022-04-1223-69/+506
| | | | Updates #3053.
* testsuites/psxtests/psxhdrs/time/*: Change license to BSD-2Joel Sherrill2022-04-1224-72/+528
| | | | Updates #3053.
* testsuites/psxtests/psxhdrs/sys/socket/*: Change license to BSD-2Joel Sherrill2022-04-1217-51/+374
| | | | Updates #3053.
* testsuites/psxtests/psxhdrs/sys/mman/*: Change license to BSD-2Joel Sherrill2022-04-1211-33/+242
| | | | Updates #3053.
* testsuites/psxtests/psxhdrs/signal*: Change license to BSD-2Joel Sherrill2022-04-129-27/+198
| | | | Updates #3053.
* testsuites/psxtests/psxhdrs/sched/*: Change license to BSD-2Joel Sherrill2022-04-128-24/+176
| | | | Updates #3053.
* testsuites/psxtests/psxhdrs/pthread/*: Change license to BSD-2Joel Sherrill2022-04-1267-465/+1540
| | | | Updates #3053.
* testsuites/psxtests/psxhdrs/devctl/*: Change license to BSD-2Joel Sherrill2022-04-121-3/+22
| | | | Updates #3053.
* testsuites/psxtests/include: Change license to BSD-2Joel Sherrill2022-04-121-3/+22
| | | | Updates #3053.
* testsuites/psxtests/psx[n-z]*: Change license to BSD-2Joel Sherrill2022-04-1260-177/+1300
| | | | Updates #3053.
* testsuites/psxtests/psx[g-m1]*: Change license to BSD-2Joel Sherrill2022-04-1252-156/+1144
| | | | Updates #3053.
* testsuites/psxtests/psx[a-f]*: Change license to BSD-2Joel Sherrill2022-04-1258-168/+1236
| | | | Updates #3053.
* testsuites/psxtests/psx[01]*: Change license to BSD-2Joel Sherrill2022-04-1255-153/+1130
| | | | Updates #3053.
* imfs: Fix index underrun when extending empty fileChristian Mauderer2022-04-071-1/+29
| | | | | | | | | | | | | | | | | | | | | | | Currently the following sequence causes a endless loop when extending an IMFS file: - Create a file with zero length and close it. - Make sure nearly no allocatable memory is left. - Open the file and write enough data into it that more than the remaining memory will be used. In that case when extending the IMFS file, the file currently need zero blocks. If allocating enough new blocks fails, the already allocated new blocks will be freed again. The comparison of block>=old_blocks that has been used prior to this patch compared two unsigned numbers. If old_blocks was zero, the comparison of these two numbers always evaluated to true. This patch frees the last block in a separate step to avoid this problem. Fixes #4639
* bsps/testsuites/: Scripted embedded brains header file clean upJoel Sherrill2022-03-108-48/+0
| | | | Updates #4625.
* kern_ntptime.c: Port to RTEMSSebastian Huber2022-02-211-6/+4
| | | | | | Remove previous adjtime() implementation. Update #2348.
* testsuite: Add machine exception signal map testKinsey Moore2021-10-294-0/+138
| | | | | Add a test to verify that mapping of machine exceptions to POSIX signals operates properly when the application requests it.
* score: _Thread_queue_Surrender_priority_ceiling()Sebastian Huber2021-10-111-0/+43
| | | | | | | | Do not use a direct thread dispatch in _Thread_queue_Surrender_priority_ceiling() since it may be used in condition variables using POSIX mutexes. Close #4526.
* build: Remove old build systemSebastian Huber2021-09-212-2149/+0
| | | | | Close #3250. Close #4081.
* pxcdevctl: Adjust for standardRyan Long2021-09-201-23/+46
| | | | | | | | psxdevctl is supposed to return the value in errno. Before, it was returning -1 and setting errno. Changed the tests to reflect these changes. Added code from RRADE's posix_devctl.c. Closes #4506
* score: Limit the CLOCK_REALTIME settingSebastian Huber2021-09-061-0/+14
| | | | | Limit the CLOCK_REALTIME setting to ensure that the CLOCK_REALTIME is defined for a system uptime of at least 114 years.
* psxtests/psxconfstr: Fix test caseSebastian Huber2021-08-301-13/+12
| | | | Update #3373.
* confstr() support for RTEMSEshan dhawan2021-08-185-0/+126
| | | | | | | | Closes #3373 confstr() style update Signed-off-by: Eshan Dhawan <eshandhawan51@gmail.com>
* Test needed for timer_create with CLOCK_MONOTONCZacchaeus Leung2021-08-112-0/+31
| | | | | | | | the timer_create() method can use CLOCK_MONOTONIC but there was no test for this. Also it implements the functionality to create a CLOCK_MONOTONIC timer and gettime() . Closes #3888
* Turn off executable permissions for a number of source filesJoel Sherrill2021-08-09134-0/+0
| | | | | | | Cloning under Cygwin turned off executable permission on these files. This shows them as modified even though they have not explicitly been touched. Executable permission should not have been on for these files so this is just a minor clean up.
* sysconf: Remove sysconf(515)Ryan Long2021-06-091-8/+0
| | | | | | | GCC originally needed this 20 years ago. No longer needed, so it is being removed. Closes #4391
* psx13: Added tests for utimensat() and futimens()Ryan Long2021-05-282-22/+482
| | | | | | Improved tests for utime() and utimes() and update license. Close #4399
* posix: Allow pthread_cancel() from within ISRsSebastian Huber2021-05-261-31/+45
| | | | Close #4413.
* psxtests: Fix math function build warningsStephen Clark2021-05-0560-0/+231
| | | | | Added conditionals to ensure that long double function tests were only built when newlib has long double math functions.
* psx13: Reworked and relicensedRyan Long2021-04-283-582/+324
| | | | | | | Changed the way the tests were structured, added rtems_test_assert()'s, updated psx13.scn and the license. Update #3899
* score: Fix task stack initializationSebastian Huber2021-03-272-2/+10
| | | | | | | | | Do not adjust the stack area begin address since this may confuse the stack allocator and result in failed stack frees. Account for the alignment overhead in the stack space size estimate. Check that the stack size is in the expected interval.
* Test suite for FTW.H methodsEshan dhawan2021-03-116-0/+255
| | | | Signed-off-by: Eshan Dhawan <eshandhawan51@gmail.com>
* score: Return a status in _Objects_Set_name()Sebastian Huber2020-12-031-3/+3
|