summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* libtests/ofw01: Added a test for RTEMS OFWG S Niteesh Babu2020-12-276-0/+395
| | | | | This commit adds a basic test that tests all the implemented RTEMS OFW functions.
* smptests/smpipi01: Fix sporadic test failureSebastian Huber2020-12-091-0/+7
|
* samples/unlimited: Prevent compile errorKinsey Moore2020-12-031-1/+0
| | | | | | For architectures with relatively large minimum stack sizes, this test breaks during compilation due to a static check. The init task stack size should not need to be set for this test.
* score: Return a status in _Objects_Set_name()Sebastian Huber2020-12-031-3/+3
|
* rtems: Add <rtems/rtems/clockimpl.h>Sebastian Huber2020-12-021-0/+1
|
* Use CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZESebastian Huber2020-11-261-69/+40
| | | | Update #4181.
* config: CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZESebastian Huber2020-11-264-1/+72
| | | | | | | | | | In order to better support applications which use the new rtems_task_construct() directive add the CONFIGURE_INIT_TASK_CONSTURCT_STORAGE_SIZE configuration option. If this option is specified, then the Classic API initialization task is constructed with rtems_task_construct(). Update #4181.
* Avoid INTERNAL_ERROR_RTEMS_INIT_TASK_ENTRY_IS_NULLSebastian Huber2020-11-265-61/+0
| | | | | | | Replace a runtime check with a compile time assertion. This makes the INTERNAL_ERROR_RTEMS_INIT_TASK_ENTRY_IS_NULL obsolete. Update #4181.
* rtems: Improve rtems_interrupt_server_create()Sebastian Huber2020-11-241-2/+63
| | | | | | Also start interrupt server tasks on processors which do not have a scheduler. Applications may dynamically manage processors using rtems_scheduler_remove_processor() and rtems_scheduler_add_processor().
* config: Simplify task stack allocator initSebastian Huber2020-11-197-75/+26
| | | | | Replace runtime checks with compile time assertions. This makes the INTERNAL_ERROR_BAD_STACK_HOOK obsolete.
* validation/ts-performance-0: Add partition testsSebastian Huber2020-11-191-0/+437
|
* validation/ts-performance-0: Add test suiteSebastian Huber2020-11-193-154/+312
| | | | Share a default test suite with ts-validation-0.
* libtest: Make test case allocator configurableSebastian Huber2020-11-191-0/+3
|
* Improve automatically generated warningSebastian Huber2020-11-123-15/+12
|
* smpmulticast01: Fix NULL pointer accessSebastian Huber2020-11-101-1/+1
|
* fsdosfsname01: Fix string truncation warningFrank Kühndel2020-10-151-6/+7
| | | | | | | | | | | | | | | This patch fixes a compiler warning: ../../../testsuites/fstests/fsdosfsname01/init.c:430:19: warning: '%s' directive output may be truncated writing up to 6424 bytes into a region of size 257 [-Wformat-truncation=] The buffer 'dirname' is exactly large enough so that no truncation can ever occur. Using the return value of snprintf() is an official supported way to suppress the warning. I considered the comment of Joel Sherrill about not replacing snprintf(): https://lists.rtems.org/pipermail/devel/2020-September/062113.html
* testsuites/samples/fileio - Increase of stack sizeFrank Kühndel2020-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | When I use the 'shell' from the fileio sample with the command below: env QEMU_AUDIO_DRV="none" \ qemu-system-arm -no-reboot -net none -nographic -M realview-pbx-a9 \ -m 256M \ -kernel build/arm/realview_pbx_a9_qemu/testsuites/samples/fileio.exe The executable crashes with an "BLOWN STACK!!!" as soon as I try to login as 'root' with password. (The logins without password work fine.) Increasing the stack size of the affected thread a bit solves the issue. Hence, I suggest this patch. My config.ini was [arm/realview_pbx_a9_qemu] RTEMS_DEBUG = True RTEMS_NETWORKING = True RTEMS_POSIX_API = True RTEMS_SMP = True BUILD_TESTS = True RTEMS origin.master at a479686c112144119866391ceb21c48be6a3eca9 Close #4143
* psxndbm01 - Fixing string truncation warningFrank Kühndel2020-10-121-8/+3
| | | | | | | | | | | | | | | | | | | This fixes the following compiler warning: testsuites/psxtests/psxndbm01/init.c:221:3: warning: 'strncpy' output truncated before terminating nul copying 5 bytes from a string of the same length 221 | strncpy( test_strings, "Hello", 5 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In addition, the comments from Sebastian Huber on an old version of such a patch have been taken into account: 1) The use of `sizeof()` in `key.dsize = sizeof( test_strings );` is wrong. 2) There is no need to allocate the string. One can simply use a string constant. (See https://lists.rtems.org/pipermail/devel/2020-August/061418.html)