summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* clock:_TOD_To_seconds(): Fix year 2514 overflowFrank Kühndel2021-04-211-10/+18
| | | | | | | | | | | | | | | | | | | | | | | This patch fixes issue #4338 by changing _TOD_Validate() to only accept years till 2105. This requires another patch to change the documentation of rtems_clock_set() and other affected API functions (indicating the end date is 2105 not 2514). I tried to support till year 2514 but it turned out that this needs changing the Timer Manager too. That in turn would mean to change _TOD_Seconds_since_epoch( void ) from 32 to 64 bit. Sebastian pointed out that a naive extension leads to trouble with 32 bit processors. He deemed a safe re-implementation too costly performance wise considering that year 2106 is far away and current binaries using RTEMS Classic API are unlikely to be in use by 2106. The constant TOD_SECONDS_AT_2100_03_01_00_00 in cpukit/rtems/src/clocktodtoseconds.c happens to be wrong by 1 hour. When setting the date 2100-Feb-28 23:59:59 and then reading the date again you will find yourself in 2100-Feb-27. Update #4338
* Fix calloc() behaviour in case of overflowSebastian Huber2021-04-201-10/+13
| | | | | | | The multiplication to calculate the length of the memory area to allocate may overflow. Return NULL in case of an overflow. Close #4389.
* smpfatal08: block secondary processorsJiri Gaisler2021-04-131-0/+2
| | | | | | * On some SMP platforms, all cpus are started by the boot-loader. We need to block the secondary cpus or they will clobber the test output.
* Revert "cpukit: Remove telnetd"Vijay Kumar Banerjee2021-04-133-0/+155
| | | | This reverts commit 3299dda2454a8847c670a732f6c12ef1f2cc5dd0.
* testsuites: Remove all legacy networking testsVijay Kumar Banerjee2021-04-0722-2103/+0
| | | | Update #3850
* cpukit: Remove telnetdVijay Kumar Banerjee2021-04-073-155/+0
| | | | Update #3850
* testsuites/libtests: Remove networking01Vijay Kumar Banerjee2021-04-073-196/+0
| | | | Update #3850
* validation: Fix unused variable warningSebastian Huber2021-04-071-3/+2
| | | | | | | Fix warning: testsuites/validation/tc-signal-send.c:634:21: warning: unused variable 'sc' [-Wunused-variable]
* libtests/block14: Fix warningSebastian Huber2021-04-071-1/+1
| | | | | | | | | Fix warning: testsuites/libtests/block14/init.c:198:8: warning: 'sc' may be used uninitialized in this function [-Wmaybe-uninitialized] Update #3689.
* Restore FDT in ofw01 to avoid test timeout on RISCVJiri Gaisler2021-03-301-0/+1
|
* score: Fix task stack initializationSebastian Huber2021-03-274-4/+17
| | | | | | | | | 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.
* libblock: Add rtems_bdbuf_peek()Christian Mauderer2021-03-263-36/+110
| | | | | | | | Adds a peek function that allows (for example) a file system to suggest the next blocks that should be used for read ahead. This can increase the read speed of fragmented files. Update #3689
* validation: Use support functionsSebastian Huber2021-03-236-306/+66
|
* validation: Add test case support functionsSebastian Huber2021-03-232-0/+274
|
* validation: Reduce source code/rodata sizeSebastian Huber2021-03-199-9795/+1271
| | | | | Use a common wording for the tests. Use the new templates for action requirements described in the RTEMS Software Engineering manual.
* rtems: Allow initially locked MrsP semaphoresSebastian Huber2021-03-161-4/+10
| | | | | | Rejecting initially locked MrsP semaphores was due to a limitiation of the early limitiation of the MrsP protocol. This limitation no longer exists.
* rtems: Require RTEMS_PRIORITY for MrsP semaphoresSebastian Huber2021-03-165-17/+24
| | | | | | | | | MrsP semaphores are a generalization of the priority ceiling semaphores for SMP configurations. Priority ceiling semaphores are required to use the priority task wait queue discipline. Require this discipline also for MrsP semaphores. Close #4347.
* sp14: Fix for SMP or robust thread dispatchSebastian Huber2021-03-161-0/+5
| | | | Close #4343.
* validation: Task create/constructSebastian Huber2021-03-162-0/+2
| | | | | Run the task create/construct tests also on validation test suite 1 which has exactly one processor configured.
* validation: Improve wordingSebastian Huber2021-03-116-11/+13
|
* Test suite for FTW.H methodsEshan dhawan2021-03-116-0/+255
| | | | Signed-off-by: Eshan Dhawan <eshandhawan51@gmail.com>
* validation: Use common wordingSebastian Huber2021-03-115-1095/+1102
|
* validation: Use common wordingSebastian Huber2021-03-086-75/+82
|
* validation: Use common wordingSebastian Huber2021-03-055-8/+8
|
* CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZESebastian Huber2021-03-051-6/+6
| | | | | Ensure that CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE meets the task storage alignment requirement.
* validation: Fix for 64-bit targetsSebastian Huber2021-03-041-1/+12
| | | | Closes #4179.
* rtems: Simplify rtems_signal_catch()Sebastian Huber2021-03-021-100/+549
| | | | | In uniprocessor configurations, we can simplify rtems_signal_catch(). Add a validation test for the SMP special case.
* validation: Format comment blocksSebastian Huber2021-03-029-164/+136
|
* validation: Add comments to task testsSebastian Huber2021-03-012-0/+231
|
* validation: Add comments to message queue testsSebastian Huber2021-03-011-308/+1056
| | | | Split up post-condition.
* validation: Add comments to signal testsSebastian Huber2021-03-012-0/+184
|
* validation: Add comments to barrier testsSebastian Huber2021-03-014-3/+207
| | | | Unify code sections across tests.
* score: Fix _Stack_Extend_size()Sebastian Huber2021-03-011-0/+3180
| | | | | Check for an integer overflow. Add a validation test for task create errors.
* validation: Improve task construct error testsSebastian Huber2021-03-011-521/+1353
|
* score: Fix thread initializationSebastian Huber2021-02-261-850/+2101
| | | | | | | | Close the thread object if a thread create extension fails. Also call the delete extension to avoid resource leaks in early extensions if a late extension fails. Close #4270.
* libtest: Print SHA256 hash in base64urlSebastian Huber2021-02-261-1/+1
|
* libtest: Report target hashSebastian Huber2021-02-261-2/+6
| | | | Update #4267.
* Add system initialization step for target hashSebastian Huber2021-02-261-0/+16
| | | | Update #4267.
* score: Add _IO_Base64url()Sebastian Huber2021-02-251-0/+12
| | | | Update #4267.
* validation: Simplify message queue construct testsSebastian Huber2021-02-241-88/+52
|
* validation: Add missing barrier create test caseSebastian Huber2021-02-241-56/+291
|
* validation: Add signal manager testsSebastian Huber2021-02-202-0/+2163
| | | | Update #4244.
* validation: Add Validation1 test suiteSebastian Huber2021-02-203-5/+78
| | | | Update #4244.
* validation: Tweak construct error testsSebastian Huber2021-02-082-216/+216
| | | | | Unify the state names across tests and make sure the state names have a similar length.
* validation: Tests for barrier managerSebastian Huber2021-02-084-0/+2525
|
* validation: Add tests for rtems_build_name()Sebastian Huber2021-02-081-0/+155
|
* rtems: Rework object services APISebastian Huber2021-02-031-8/+0
| | | | | | | | | Add a "Constraints" paragraph to the documentation. Provide prototypes for programming language bindings. Use the macro implementation to implement the corresponding functions. Update #3993.
* Improve file header comment in generated filesSebastian Huber2021-01-255-15/+35
|
* splinkersets01: Fix declarationSebastian Huber2021-01-231-2/+2
| | | | | | | | | | | | GCC 11 produced warnings like this: items.c:21:1: warning: ignoring attribute 'section (".rtemsrwset.test_rw.content.0.1")' because it conflicts with previous 'section (".rtemsrwset.test_rw.content.1")' [-Wattributes] items.c:23:1: warning: ignoring attribute 'section (".rtemsroset.test_ro.content.0.OC")' because it conflicts with previous 'section (".rtemsroset.test_ro.content.1")' [-Wattributes]
* mrsp: Change error status for a nested seizeSebastian Huber2021-01-211-1/+1
| | | | | | | | Return STATUS_DEADLOCK (RTEMS_INCORRECT_STATE) to indicate a nested seize since this is a kind of deadlock. This status code is also used for other deadlocks. Update #4217.