Sebastian Huber
23c8a039b3
validation: Task entry return for idle threads
...
Update #3716 .
2023-07-25 07:27:42 +02:00
Sebastian Huber
3a754a3de2
validation: Fix formatting
2023-07-21 09:32:33 +02:00
Sebastian Huber
610b54d83a
testsuites: Remove stray ';'
2023-07-21 09:32:33 +02:00
Sebastian Huber
723c634d61
validation: Improve sparc/leon3 shutdown test
...
Test the shutdown halt separately from the SMP-specific shutdown
request.
Update #3716 .
2023-07-21 08:20:11 +02:00
Frank Kühndel
0afbd00958
unit: Test unlimited objects configuration
...
This unit test covers code paths which are only reached if unlimited
objects are used.
Update #3716 .
2023-07-21 07:43:34 +02:00
Frank Kühndel
2fc7e04280
unit: Test POSIX-specific message queue impl
...
This unit test covers code paths of the Message Handler which are only
reached by through POSIX message queue API.
Update #3716 .
2023-07-21 07:43:34 +02:00
Sebastian Huber
e6de385a97
validation: Test sparc/leon3 BSP family
...
Update #3716 .
2023-07-14 12:21:33 +02:00
Sebastian Huber
2ede66f1bc
validation: grlib
...
Update #3716 .
2023-07-14 12:21:33 +02:00
Joel Sherrill
6264b14804
Revert accidentally committed "Remove unused _IO_Relax"
...
Sebastian has agreed to move this out of score. I should have
removed this patch from my tree but accidentally committed it
with another patch.
2023-07-03 10:32:53 -05:00
Joel Sherrill
e49e8daf3d
Remove unused _IO_Relax
...
The only use was in a test.
2023-07-03 10:11:58 -05:00
Kinsey Moore
ea27adaa0d
testsuites/flashdev01: Use correct page_size type
...
The page size ioctl requires an int pointer to retrieve the page size.
The test currently uses a size_t which mostly works fine for systems
where size_t and int are the same size, but can leave junk data in the
upper bits when they differ in size causing an assert in the test to
fail in some cases. This updates the variable to the correct type.
2023-06-10 11:02:29 -05:00
Sebastian Huber
3c1e264db6
smptests: Print proper end of test message
...
Make sure that the end of test message is not mixed up with other test
output.
2023-05-23 14:19:13 +02:00
Sebastian Huber
bcef89f236
Update company name
...
The embedded brains GmbH & Co. KG is the legal successor of embedded
brains GmbH.
2023-05-20 11:05:26 +02:00
Sebastian Huber
976f208ff2
validation: Add checks to static assert tests
...
This ensures that the test cases have at least one test step.
Update #3716 .
2023-05-19 08:09:26 +02:00
Sebastian Huber
9db208019b
validation: RTEMS_STATIC_ANALYSIS
...
Improve the validation of this define which is not defined for normal
builds.
Update #3716 .
2023-05-19 08:08:45 +02:00
Sebastian Huber
1a2d797a97
validation: Fix formatting
...
Update #3716 .
2023-05-19 08:08:45 +02:00
Sebastian Huber
28fabc299f
validation: rtems_scheduler_get_maximum_priority()
...
Validate this directive for the EDF SMP scheduler.
Update #3716 .
2023-05-19 08:08:45 +02:00
Sebastian Huber
367427d07b
validation: Improve formatting
...
This enables automatic Doxygen links.
Update #3716 .
2023-05-19 08:08:45 +02:00
Sebastian Huber
ee74893267
validation: Add group for runtime measurements
...
Update #3716 .
2023-05-19 08:08:45 +02:00
Sebastian Huber
649dc37c8f
validation: Use spec:* references
...
Update #3716 .
2023-05-19 08:08:45 +02:00
Sebastian Huber
64fdb08900
validation: Fix formatting
...
Update #3716 .
2023-05-19 08:08:45 +02:00
Sebastian Huber
72465f86d5
validation: Fix typo
...
Update #3716 .
2023-05-19 08:08:45 +02:00
Sebastian Huber
8bc15aba56
validation: Validate RTEMS_NO_TIMEOUT
...
Update #3716 .
2023-05-19 08:08:43 +02:00
Sebastian Huber
c821b925f7
validation: Test the global construction
...
Update #3716 .
2023-05-19 07:47:37 +02:00
Aaron Nyholm
8e3ab34051
testsuites/libtests: Add test for flashdev
2023-05-16 12:48:23 +10:00
Sebastian Huber
863b26ee3a
score: Avoid cyclic header file dependencies
...
There was a cyclic dependency: For RTEMS_STATIC_ANALYSIS we needed
basedefs.h in assert.h. For RTEMS_UNREACHABLE() we needed _Assert() from
assert.h in basedefs.h.
Fix this by introducing _Debug_Unreachable() in basedefs.h.
Add RTEMS_FUNCTION_NAME to basedefs.h and use it in basedefs.h and
assert.h.
Close #4900 .
2023-04-25 08:25:33 +02:00
Sebastian Huber
74a6b33f3b
validation: Replace enum Event with defines
...
There is a Doxygen limitation that all compound names (enum, struct,
class, union, group) within a project must be unique.
Update #3716 .
2023-03-17 15:55:39 +01:00
Sebastian Huber
45234f58e5
doxygen: Add test files to groups
2023-03-17 08:47:28 +01:00
Sebastian Huber
de6568ed99
validation: Fix test case group identifiers
...
Update #3716 .
2023-03-17 08:47:28 +01:00
Kinsey Moore
5db68a5859
cpukit/jffs2: Add support for NAND under JFFS2
...
This adds write buffer and bad block support required for JFFS2
operation on NAND devices. This also adds the minor modifications
necessary for RTEMS support in the Linux header stubs and in wbuf.c.
Memory and NOR backed applications should experience no difference in
operation since they do not expose the callbacks required for write
buffer support.
2023-03-15 13:29:12 -05:00
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