summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-12-14psxftw01: Simplify and use rtems_test_run()Sebastian Huber1-56/+6
2023-09-26psx13: Fix use of uninitialized variable warningSebastian Huber1-0/+2
2023-08-04psxkey07: Fix POSIX key value pair configurationSebastian Huber1-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.
2023-05-20Update company nameSebastian Huber17-17/+17
The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
2022-10-07psxrwlock01: Use an initilized lock for testsSebastian Huber1-8/+20
Close #4738.
2022-09-06pthread_atfork(): Change to behavior from FACE Technical StandardJoel Sherrill2-3/+9
Closes #4713.
2022-08-19psxkey07/init.c: Add pragma for gcc 12 warningRyan Long1-2/+9
Updates #4662
2022-08-19psxclock/init.c: Change print format for warningRyan Long1-1/+1
Updates #4662
2022-08-11psxtimer_face01: Improve coverage and documentationJoel Sherrill3-6/+52
Updates #4691.
2022-08-10psxtimer0[12]/psxtimer.c: Reformat file header.Joel Sherrill2-6/+12
2022-08-10Add support for CONFIGURE_POSIX_TIMERS_FACE_BEHAVIORJoel Sherrill3-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.
2022-08-05testsuite/psxclock: Check setting realtime clock does not effect sleeping tasksChris Johns1-1/+171
Closes #4690
2022-07-28score: Use PTHREAD_CANCELED for _Thread_Cancel()Sebastian Huber1-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.
2022-07-28score: Use priority inheritance for thread joinSebastian Huber2-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.
2022-07-27psxconfig01: Increase region areaSebastian Huber1-1/+1
This fixes a test failure on 64-bit systems with RTEMS_DEBUG enabled.
2022-06-21testsuite: Fix gcc 12 warningsChris Johns56-84/+85
2022-04-27psxtests: Adding file headers and licensesRyan Long7-0/+245
These files had no file header, copyright, or license. Based on git history, added appropriate copyrights and licenses.
2022-04-12testsuites/psxtests/psxhdrs/unistd/*: Change license to BSD-2Joel Sherrill23-69/+506
Updates #3053.
2022-04-12testsuites/psxtests/psxhdrs/time/*: Change license to BSD-2Joel Sherrill24-72/+528
Updates #3053.
2022-04-12testsuites/psxtests/psxhdrs/sys/socket/*: Change license to BSD-2Joel Sherrill17-51/+374
Updates #3053.
2022-04-12testsuites/psxtests/psxhdrs/sys/mman/*: Change license to BSD-2Joel Sherrill11-33/+242
Updates #3053.
2022-04-12testsuites/psxtests/psxhdrs/signal*: Change license to BSD-2Joel Sherrill9-27/+198
Updates #3053.
2022-04-12testsuites/psxtests/psxhdrs/sched/*: Change license to BSD-2Joel Sherrill8-24/+176
Updates #3053.
2022-04-12testsuites/psxtests/psxhdrs/pthread/*: Change license to BSD-2Joel Sherrill67-465/+1540
Updates #3053.
2022-04-12testsuites/psxtests/psxhdrs/devctl/*: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2022-04-12testsuites/psxtests/include: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2022-04-12testsuites/psxtests/psx[n-z]*: Change license to BSD-2Joel Sherrill60-177/+1300
Updates #3053.
2022-04-12testsuites/psxtests/psx[g-m1]*: Change license to BSD-2Joel Sherrill52-156/+1144
Updates #3053.
2022-04-12testsuites/psxtests/psx[a-f]*: Change license to BSD-2Joel Sherrill58-168/+1236
Updates #3053.
2022-04-12testsuites/psxtests/psx[01]*: Change license to BSD-2Joel Sherrill55-153/+1130
Updates #3053.
2022-04-07imfs: Fix index underrun when extending empty fileChristian Mauderer1-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
2022-03-10bsps/testsuites/: Scripted embedded brains header file clean upJoel Sherrill8-48/+0
Updates #4625.
2022-02-21kern_ntptime.c: Port to RTEMSSebastian Huber1-6/+4
Remove previous adjtime() implementation. Update #2348.
2021-10-29testsuite: Add machine exception signal map testKinsey Moore4-0/+138
Add a test to verify that mapping of machine exceptions to POSIX signals operates properly when the application requests it.
2021-10-11score: _Thread_queue_Surrender_priority_ceiling()Sebastian Huber1-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.
2021-09-21build: Remove old build systemSebastian Huber2-2149/+0
Close #3250. Close #4081.
2021-09-20pxcdevctl: Adjust for standardRyan Long1-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
2021-09-06score: Limit the CLOCK_REALTIME settingSebastian Huber1-0/+14
Limit the CLOCK_REALTIME setting to ensure that the CLOCK_REALTIME is defined for a system uptime of at least 114 years.
2021-08-30psxtests/psxconfstr: Fix test caseSebastian Huber1-13/+12
Update #3373.
2021-08-18confstr() support for RTEMSEshan dhawan5-0/+126
Closes #3373 confstr() style update Signed-off-by: Eshan Dhawan <eshandhawan51@gmail.com>
2021-08-11Test needed for timer_create with CLOCK_MONOTONCZacchaeus Leung2-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
2021-08-09Turn off executable permissions for a number of source filesJoel Sherrill134-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.
2021-06-09sysconf: Remove sysconf(515)Ryan Long1-8/+0
GCC originally needed this 20 years ago. No longer needed, so it is being removed. Closes #4391
2021-05-28psx13: Added tests for utimensat() and futimens()Ryan Long2-22/+482
Improved tests for utime() and utimes() and update license. Close #4399
2021-05-26posix: Allow pthread_cancel() from within ISRsSebastian Huber1-31/+45
Close #4413.
2021-05-05psxtests: Fix math function build warningsStephen Clark60-0/+231
Added conditionals to ensure that long double function tests were only built when newlib has long double math functions.
2021-04-28psx13: Reworked and relicensedRyan Long3-582/+324
Changed the way the tests were structured, added rtems_test_assert()'s, updated psx13.scn and the license. Update #3899
2021-03-27score: Fix task stack initializationSebastian Huber2-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.
2021-03-11Test suite for FTW.H methodsEshan dhawan6-0/+255
Signed-off-by: Eshan Dhawan <eshandhawan51@gmail.com>
2020-12-03score: Return a status in _Objects_Set_name()Sebastian Huber1-3/+3