Sebastian Huber
e81701bc6c
validation: Fix typo
2023-03-14 08:27:33 +01:00
Sebastian Huber
9bb2f59efe
doxygen: Add groups for related test suites
2023-03-14 08:07:25 +01:00
Sebastian Huber
377eae4165
spsysinit01: Fix sem_open() call
...
The O_CREAT flag requires a mode and initial value as third and fourth
argument.
Close #4878 .
2023-03-14 08:00:21 +01:00
Sebastian Huber
9bfe5f599d
validation: Derive names from item UIDs
...
Use the item UID converted to CamelCase for Doxygen group names and
testsuite names.
Update #3716 .
2023-03-13 14:00:59 +01:00
Sebastian Huber
1d07dfad83
validation: Improve IRQ handler dispatch test
...
Clarify wording. Use a function wrapper for the SMP spurious interrupt setup.
Update #3716 .
2023-02-06 09:46:45 +01:00
Sebastian Huber
10ee41a8a3
tm27: Avoid function pointer casts
...
Add TM27_USE_VECTOR_HANDLER to select the interrupt handler type used by
the <tm27.h> implementation.
Close #4820 .
2023-01-24 09:56:53 +01:00
Kinsey Moore
81085ca9f4
testsuites/libtest/dl11: Add DL test for TLS
...
This adds a test verifying basic TLS functionality in loadable modules
now that at least one architecture supports it.
2023-01-20 08:26:35 -06:00
Sebastian Huber
71d1acd41d
bsps/irq: Rename handler in dispatch table
...
The name handler table was a bit misleading after the last rework.
Rename it to distach table. Update the documentation accordingly.
Update #4769 .
2022-12-02 10:25:39 +01:00
Daniel Cederman
3f644aa874
testsuites/smptests: Change license to BSD-2 for files with Gaisler copyright
...
This patch changes the license to BSD-2 for all source files where the
copyright is held by Aeroflex Gaisler, Cobham Gaisler, or Gaisler Research.
Updates #3053 .
2022-11-14 11:01:36 +01:00
Sebastian Huber
68e1dc87a6
validation: Fix unused variable warning
2022-11-11 16:48:12 +01:00
Sebastian Huber
55318d17b4
validation: Improve spurious interrupt test case
...
Use the tm27 support to test a spurious interrupt. This helps to run the
validation test case on targets which have no software interrupt available for
tests (for example riscv/PLIC/CLINT in the SMP configuration).
2022-11-11 16:38:25 +01:00
Joel Sherrill
ecd8aec911
Remove remnants of rtems_io_lookup_name
...
Updates #3420 .
2022-11-10 15:18:12 -06:00
Sebastian Huber
f151e6f680
validation: Properly teardown test cases
...
Make sure that the state of the testable interrupt vector is restored to the
state at the test case begin.
2022-11-09 16:55:15 +01:00
Prashanth S
cd91b37dce
cpukit/dev/can: Added CAN support
2022-10-30 09:35:54 +01:00
Sebastian Huber
f6bcf1636b
sptests: Avoid fatal error to end a test
...
End the test with a normal exit instead of
INTERNAL_ERROR_THREAD_EXITTED.
2022-10-25 08:00:32 +02:00
Sebastian Huber
a7706515c7
validation: Use correct number of idle tasks
...
Update #3716 .
2022-10-14 10:48:23 +02:00
Sebastian Huber
64fbeaa0d1
score: INTERNAL_ERROR_IDLE_THREAD_STACK_TOO_SMALL
...
Ensure that the IDLE storage allocator did allocate a suffiently large area.
Update #3835 .
Update #4524 .
2022-10-14 10:48:23 +02:00
Sebastian Huber
45ee958552
config: Add CONFIGURE_IDLE_TASK_STORAGE_SIZE
...
By default, allocate the IDLE task storage areas from the RTEMS Workspace.
This avoids having to estimate the thread-local storage size in the default
configuration.
Add the application configuration option CONFIGURE_IDLE_TASK_STORAGE_SIZE to
request a static allocation of the task storage area for IDLE tasks.
Update #3835 .
Update #4524 .
2022-10-14 10:48:23 +02:00
Sebastian Huber
6a8208533d
stackchk01: Check CPU_STACK_MINIMUM_SIZE
...
Ensure that the CPU_STACK_MINIMUM_SIZE is suffiently larger than the stack
usage in simple applications.
2022-10-14 10:48:23 +02:00
Sebastian Huber
1ab93ba480
score: INTERNAL_ERROR_IDLE_THREAD_CREATE_FAILED
...
Add the INTERNAL_ERROR_IDLE_THREAD_CREATE_FAILED fatal error in case the
creation of an idle thread fails. This may happen due to a failing create
extension provided by the application.
2022-10-14 10:48:22 +02:00
Sebastian Huber
2846b17d7e
config: Changeable size for IDLE stack allocator
...
Allow the IDLE stack allocator to change the stack size. This can be
used by applications with a very dynamic thread-local storage size to
adjust the thread storage area of the IDLE tasks dynamically.
Update #4524 .
2022-10-14 07:29:41 +02:00
Sebastian Huber
dc545608a7
sptls02: Fix alignment check
2022-10-14 07:29:41 +02:00
Sebastian Huber
b9212e242f
sptls01: Disable file system and Newlib reentrancy
...
Update #4560 .
2022-10-14 07:29:41 +02:00
Sebastian Huber
0307c81aa0
sptls0*: Enable stack checker
...
The thread-local storage area is located close to other stacks. Try to detect
overwrites.
2022-10-14 07:29:41 +02:00
Sebastian Huber
46f08961a2
psxrwlock01: Use an initilized lock for tests
...
Close #4738 .
2022-10-07 07:14:51 +02:00
Sebastian Huber
3bad6b8ff9
validation: Fix wording
2022-10-06 09:03:06 +02:00
Sebastian Huber
a3717de01c
validation: Remove unused test suite
...
Update #3716 .
2022-09-28 13:49:31 +02:00
Sebastian Huber
acf1e5b266
rtems: Add rtems_clock_get_ticks_since_boot() function
...
This function was declared, however, a definition was missing. Add a
validation test for it.
2022-09-23 11:14:58 +02:00
Sebastian Huber
a660e9dc47
Do not use RTEMS_INLINE_ROUTINE
...
Directly use "static inline" which is available in C99 and later. This brings
the RTEMS implementation closer to standard C.
Close #3935 .
2022-09-19 09:09:22 +02:00
Sebastian Huber
3803757b2c
validation: Test deadlock detection special case
...
Update #3716 .
2022-09-12 09:39:04 +02:00
Sebastian Huber
8d32b9884c
validation: Fix integer type warning
...
Update #4662 .
2022-09-09 08:09:11 +02:00
Sebastian Huber
ac31e2f993
libtests/sha: Add tests for SHA512-256
2022-09-08 16:14:56 +02:00
Sebastian Huber
fdbf89fee7
libtests/sha: Add tests for SHA512-224
2022-09-08 16:14:56 +02:00
Sebastian Huber
d37baa17e6
libtests/sha: Add tests for SHA384
2022-09-08 16:14:56 +02:00
Sebastian Huber
bea7e5a0ff
libtests/sha: Add tests for SHA224
2022-09-08 16:14:56 +02:00
Sebastian Huber
120c857ea1
minimum: Do not use unified work areas
...
The CONFIGURE_UNIFIED_WORK_AREAS option pulls in a system initialization
handler which initializes the unified heap.
Close #4108 .
2022-09-08 16:14:56 +02:00
Joel Sherrill
dbba943044
pthread_atfork(): Change to behavior from FACE Technical Standard
...
Closes #4713 .
2022-09-06 17:09:11 -05:00
Sebastian Huber
4e227f460c
validation: CONFIGURE_SCHEDULER_TABLE_ENTRIES
...
Test this option in a configuration with only one processor.
Update #3716 .
2022-09-05 15:46:32 +02:00
Sebastian Huber
98353136dd
validation: Refine basedefs specification
...
Update #3716 .
2022-09-05 15:46:32 +02:00
Sebastian Huber
9e9ce43dcb
validation: Regenerate
...
Update #4702 .
2022-09-05 08:57:42 +02:00
Sebastian Huber
b1072f5ae2
validation: Ignore array bounds warnings
...
Update #4702 .
2022-08-31 13:21:02 +02:00
Sebastian Huber
1be6dc18d3
libtest: Fix warnings without a pragma
...
It seems that recent GCC versions expect that functions with a "const type *"
parameter will read from the referenced location.
Update #4662 .
2022-08-31 13:20:49 +02:00
Sebastian Huber
c4472cef3e
validation: Move flush filter stop validation
...
This gets rid of a cyclic dependency in the specification graph.
Update #3716 .
2022-08-31 11:29:56 +02:00
Sebastian Huber
1dca588f63
validation: Support a partial thread queue flush
...
Update #3716 .
2022-08-31 11:29:37 +02:00
Sebastian Huber
44b3bc65af
validation: Fix use of uninitialized variables
...
Update #4662 .
2022-08-30 07:30:42 +02:00
Ryan Long
f045b9ddd8
psxkey07/init.c: Add pragma for gcc 12 warning
...
Updates #4662
2022-08-19 15:34:47 -05:00
Ryan Long
f60f349d86
psxclock/init.c: Change print format for warning
...
Updates #4662
2022-08-19 15:34:47 -05:00
Ryan Long
978022eeb0
ttest01/test-checks.c: Initialize variables
...
These uninitialized variables were causing warnings to be generated.
Updates #4662
2022-08-19 15:34:47 -05:00
Ryan Long
a447b9b377
malloctest/init.c: Added pragmas to address gcc 12 warnings
...
Updates #4662
2022-08-19 15:34:47 -05:00
Ryan Long
dc0dcccf41
dl09/dl-load.c: Fix gcc 12 warning
...
Changed format of size_t variable being printed.
Updates #4662
2022-08-19 15:34:47 -05:00