summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-03-20Do not define CONFIGURE_TICKS_PER_TIMESLICE to 0Sebastian Huber30-30/+0
Unconditionally make a CONFIGURE_TICKS_PER_TIMESLICE value less than or equal to zero an error. Update #4986.
2024-01-15tmtimer01: Convert to JSON dataSebastian Huber4-178/+328
This avoids a dependency on the non-standard libxml2 module.
2024-01-15tmfine01: Convert to JSON dataSebastian Huber3-4270/+239
This avoids a dependency on the non-standard libxml2 module. Reorder test cases according to expected performance.
2024-01-15tmcontext01: Convert to JSON dataSebastian Huber3-317/+181
This avoids a dependency on the non-standard libxml2 module.
2024-01-15tmcontext01: Improve timing measurements for sparcSebastian Huber1-16/+12
Use a SPARC-specific method to flush the register windows. This improves the timing measurements.
2024-01-15tmcontext01: Prevent optimizationsSebastian Huber1-12/+3
The previous method to prevent optimizations no longer worked at least with GCC 13. Disable intra-procedural optimizations.
2023-07-21testsuites: Remove stray ';'Sebastian Huber1-1/+1
2023-05-20Update company nameSebastian Huber7-7/+7
The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
2023-01-24tm27: Avoid function pointer castsSebastian Huber1-51/+49
Add TM27_USE_VECTOR_HANDLER to select the interrupt handler type used by the <tm27.h> implementation. Close #4820.
2022-04-27tmtests: Manually adding file headers and licensesRyan Long8-0/+280
These files had no file header, copyright, or license. Based on git history, added appropriate copyrights and licenses.
2022-04-12testsuites/tmtests/*/*.py: Change license to BSD-2Joel Sherrill3-9/+60
Updates #3053.
2022-04-12testsuites/tmtests/ remainder: Change license to BSD-2Joel Sherrill4-3/+28
+ include + tmck + tmfine01 + tmonetoone + tmtimer01 Updates #3053.
2022-04-12testsuites/tmtests/tm[23]*: Change license to BSD-2Joel Sherrill17-51/+374
Updates #3053.
2022-04-12testsuites/rmtests/tm[01]*: Change license to BSD-2Joel Sherrill19-57/+418
Updates #3053.
2022-04-07testsuites/tmtests/*: Change license to BSD-2Joel Sherrill67-201/+1474
Updates #3053.
2022-03-10bsps/testsuites/: Scripted embedded brains header file clean upJoel Sherrill4-24/+0
Updates #4625.
2021-09-21build: Remove old build systemSebastian Huber2-456/+0
Close #3250. Close #4081.
2021-03-16rtems: Require RTEMS_PRIORITY for MrsP semaphoresSebastian Huber1-1/+2
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.
2020-09-11Remove tmoverhd which existed to produce the obsolete coverhd.hJoel Sherrill7-1674/+0
Closes #4040.
2020-07-23libtest: <rtems/test.h> to <rtems/test-info.h>Sebastian Huber2-2/+2
Rename this header file to later move <t.h> to <rtems/test.h>. The main feature provided by <rtems/test-info.h> is the output of standard test information which is consumed by the RTEMS Tester. Update #3199.
2020-04-16Canonicalize config.h includeSebastian Huber3-3/+3
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2020-03-04config: Remove <rtems/btimer.h> includeSebastian Huber31-0/+60
The use of CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER does not define anything, so remove the <rtems/btimer.h> include. Update #3875.
2020-02-25config: Remove CONFIGURE_DISABLE_SMP_CONFIGURATIONSebastian Huber6-12/+0
The CONFIGURE_DISABLE_SMP_CONFIGURATION configuration option and rtems_configuration_is_smp_enabled() were added during the SMP support development cycle as a workaround to fix some testsuite failures in SMP configurations. All use cases were replaced with tests for specific conditions. The configuration option and test macro were undocumented. Close #3876.
2019-12-11rtems: Simplify semaphore configurationSebastian Huber1-2/+0
The MrsP semaphore implementation predates the addition of self-contained synchronization objects. At this time, the potential memory reduction was justified considering the more complex configuration and additional use of the workspace. With the availability of self-contained synchronization options, e.g. POSIX mutexes, this is no longer justified. Memory constrained applications should use the self-contained synchronization objects. Remove the CONFIGURE_MAXIMUM_MRSP_SEMAPHORES configuration option. This has only an impact on applications which use SMP and a large number of scheduler instances. Update #3833.
2019-12-05libtest: Change expected pass state stringSebastian Huber1-1/+1
Use separator character '_' for all test states.
2019-12-04testsuites: Remove rtems_test_pause*()Sebastian Huber3-8/+0
The rtems_test_pause() and rtems_test_pause_and_screen_number() macros had different implementations depending on the RTEMS_TEST_NO_PAUSE define. This define was defined to 1 by default. The user was able to change this via the undocumented --disable-test-no-pause configure command line option. Pausing tests and waiting for user input contradicts the goal of having automated test runs. Remove this feature. Update #3818.
2019-11-12tmtests: Avoid build system defined definesSebastian Huber11-379/+395
Update #3818.
2019-04-09rtems: Add rtems_scheduler_get_processor_maximum()Sebastian Huber1-1/+1
Add rtems_scheduler_get_processor_maximum() as a replacement for rtems_get_processor_count(). The rtems_get_processor_count() is a bit orphaned. Adopt it by the Scheduler Manager. The count is also misleading, since the processor set may have gaps and the actual count of online processors may be less than the value returned by rtems_get_processor_count(). Update #3732.
2019-04-09rtems: Add rtems_scheduler_get_processor()Sebastian Huber1-1/+1
Add rtems_scheduler_get_processor() as a replacement for rtems_get_current_processor(). The rtems_get_current_processor() is a bit orphaned. Adopt it by the Scheduler Manager. This is in line with the glibc sched_getcpu() function. Deprecate rtems_get_current_processor(). Update #3731.
2019-03-07testsuite: Make the OPERATION_COUNT a test configuration parameter.Chris Johns31-54/+158
- Add a small memory test config file. - Update the small memory PowerPC BSPs to use the new test config.
2019-01-30build: Do not install test programsSebastian Huber1-3/+1
2018-10-22tmonetoone: Add yield test caseSebastian Huber1-0/+37
2018-10-12tmtests: Fix unused variable warningsSebastian Huber4-8/+0
2018-10-11tmtests/tmonetoone: New test programSebastian Huber5-0/+337
2018-10-10build: Remove local.amSebastian Huber1-1/+0
2018-10-05tests: Use rtems_task_exit()Sebastian Huber30-81/+35
Update #3533.
2018-09-20tm26: enable FP context when fprintf usedDaniel Hellstrom1-0/+1
calling rtems_print_printer_fprintf_putc() results in usage of vfprintf() which may use floating point instructions in its implementation.
2018-04-11configure: Add subdir-objects to all automake flags.Chris Johns1-1/+1
This option silences warning with automake-1.16.1 allowing us to upgrade to that version. This change has been tested with automake-1.12.6 and automake-1.16.1. It seems version 1.16.1 configures slower than 1.12.6 for the same source and BSP. The newer versions is 6 second slower. Close #3387.
2018-04-10testsuite/tmtests: Merged nested Makefile.am files into one Makefile.amChris Johns43-1043/+437
This change is part of the testsuite Makefile.am reorganization. Update #3382
2018-02-09tests: Support %g print format specifierSebastian Huber1-0/+1
2018-01-25Remove make preinstallChris Johns1-0/+2
A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
2017-12-08tm08: Do not use RTEMS_INTERRUPT_MASK for no reschedule caseJoel Sherrill1-7/+10
Updates #3000.
2017-11-24Remove coverhd.hSebastian Huber60-146/+113
This header file contained timing overhead values which are hard to maintain. Update #3254.
2017-11-06tests: Use simple console driverSebastian Huber35-35/+35
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber35-70/+0
The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
2017-10-24tmtests/tmfine01: Reduce test context sizeSebastian Huber1-0/+4
Reduce test context size in non-SMP configurations. Close #3200.
2017-10-23testsuite: Use printk for all test output where possible.Chris Johns35-0/+70
- Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
2017-10-18tmtests/tmfine01: Add test casesSebastian Huber3-2119/+4188
Update #2674. Update #3112. Update #3113. Update #3114. Update #3115.
2017-07-20tmtests/tmcontext01: Prevent GCC 7.1 optimizationsSebastian Huber1-20/+21
It is getting harder to prevent the compiler from optimizing away the recursive function calls.
2017-05-16confdefs.h: Add SMP enabled field to configurationSebastian Huber2-0/+4
Do not use the processor count to determine if SMP is enabled. Instead use a dedicated configuration option. Enable SMP by default in SMP configurations. Add CONFIGURE_DISABLE_SMP_CONFIGURATION to all test which would fail otherwise. Update #3001.