summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Do not define CONFIGURE_TICKS_PER_TIMESLICE to 0Sebastian Huber2024-03-2030-30/+0
| | | | | | | Unconditionally make a CONFIGURE_TICKS_PER_TIMESLICE value less than or equal to zero an error. Update #4986.
* tmtimer01: Convert to JSON dataSebastian Huber2024-01-154-178/+328
| | | | This avoids a dependency on the non-standard libxml2 module.
* tmfine01: Convert to JSON dataSebastian Huber2024-01-153-4270/+239
| | | | | This avoids a dependency on the non-standard libxml2 module. Reorder test cases according to expected performance.
* tmcontext01: Convert to JSON dataSebastian Huber2024-01-153-317/+181
| | | | This avoids a dependency on the non-standard libxml2 module.
* tmcontext01: Improve timing measurements for sparcSebastian Huber2024-01-151-16/+12
| | | | | Use a SPARC-specific method to flush the register windows. This improves the timing measurements.
* tmcontext01: Prevent optimizationsSebastian Huber2024-01-151-12/+3
| | | | | The previous method to prevent optimizations no longer worked at least with GCC 13. Disable intra-procedural optimizations.
* testsuites: Remove stray ';'Sebastian Huber2023-07-211-1/+1
|
* Update company nameSebastian Huber2023-05-207-7/+7
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* tm27: Avoid function pointer castsSebastian Huber2023-01-241-51/+49
| | | | | | | Add TM27_USE_VECTOR_HANDLER to select the interrupt handler type used by the <tm27.h> implementation. Close #4820.
* tmtests: Manually adding file headers and licensesRyan Long2022-04-278-0/+280
| | | | | These files had no file header, copyright, or license. Based on git history, added appropriate copyrights and licenses.
* testsuites/tmtests/*/*.py: Change license to BSD-2Joel Sherrill2022-04-123-9/+60
| | | | Updates #3053.
* testsuites/tmtests/ remainder: Change license to BSD-2Joel Sherrill2022-04-124-3/+28
| | | | | | | | | | + include + tmck + tmfine01 + tmonetoone + tmtimer01 Updates #3053.
* testsuites/tmtests/tm[23]*: Change license to BSD-2Joel Sherrill2022-04-1217-51/+374
| | | | Updates #3053.
* testsuites/rmtests/tm[01]*: Change license to BSD-2Joel Sherrill2022-04-1219-57/+418
| | | | Updates #3053.
* testsuites/tmtests/*: Change license to BSD-2Joel Sherrill2022-04-0767-201/+1474
| | | | Updates #3053.
* bsps/testsuites/: Scripted embedded brains header file clean upJoel Sherrill2022-03-104-24/+0
| | | | Updates #4625.
* build: Remove old build systemSebastian Huber2021-09-212-456/+0
| | | | | Close #3250. Close #4081.
* rtems: Require RTEMS_PRIORITY for MrsP semaphoresSebastian Huber2021-03-161-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.
* Remove tmoverhd which existed to produce the obsolete coverhd.hJoel Sherrill2020-09-117-1674/+0
| | | | Closes #4040.
* libtest: <rtems/test.h> to <rtems/test-info.h>Sebastian Huber2020-07-232-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.
* Canonicalize config.h includeSebastian Huber2020-04-163-3/+3
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* config: Remove <rtems/btimer.h> includeSebastian Huber2020-03-0431-0/+60
| | | | | | | The use of CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER does not define anything, so remove the <rtems/btimer.h> include. Update #3875.
* config: Remove CONFIGURE_DISABLE_SMP_CONFIGURATIONSebastian Huber2020-02-256-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.
* rtems: Simplify semaphore configurationSebastian Huber2019-12-111-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.
* libtest: Change expected pass state stringSebastian Huber2019-12-051-1/+1
| | | | Use separator character '_' for all test states.
* testsuites: Remove rtems_test_pause*()Sebastian Huber2019-12-043-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.
* tmtests: Avoid build system defined definesSebastian Huber2019-11-1211-379/+395
| | | | Update #3818.
* rtems: Add rtems_scheduler_get_processor_maximum()Sebastian Huber2019-04-091-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.
* rtems: Add rtems_scheduler_get_processor()Sebastian Huber2019-04-091-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.
* testsuite: Make the OPERATION_COUNT a test configuration parameter.Chris Johns2019-03-0731-54/+158
| | | | | - Add a small memory test config file. - Update the small memory PowerPC BSPs to use the new test config.
* build: Do not install test programsSebastian Huber2019-01-301-3/+1
|
* tmonetoone: Add yield test caseSebastian Huber2018-10-221-0/+37
|
* tmtests: Fix unused variable warningsSebastian Huber2018-10-124-8/+0
|
* tmtests/tmonetoone: New test programSebastian Huber2018-10-115-0/+337
|
* build: Remove local.amSebastian Huber2018-10-101-1/+0
|
* tests: Use rtems_task_exit()Sebastian Huber2018-10-0530-81/+35
| | | | Update #3533.
* tm26: enable FP context when fprintf usedDaniel Hellstrom2018-09-201-0/+1
| | | | | calling rtems_print_printer_fprintf_putc() results in usage of vfprintf() which may use floating point instructions in its implementation.
* configure: Add subdir-objects to all automake flags.Chris Johns2018-04-111-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.
* testsuite/tmtests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-1043-1043/+437
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* tests: Support %g print format specifierSebastian Huber2018-02-091-0/+1
|
* Remove make preinstallChris Johns2018-01-251-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.
* tm08: Do not use RTEMS_INTERRUPT_MASK for no reschedule caseJoel Sherrill2017-12-081-7/+10
| | | | Updates #3000.
* Remove coverhd.hSebastian Huber2017-11-2460-146/+113
| | | | | | | This header file contained timing overhead values which are hard to maintain. Update #3254.
* tests: Use simple console driverSebastian Huber2017-11-0635-35/+35
| | | | | Update #3170. Update #3199.
* tests: Remove TEST_INITSebastian Huber2017-10-2835-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.
* tmtests/tmfine01: Reduce test context sizeSebastian Huber2017-10-241-0/+4
| | | | | | Reduce test context size in non-SMP configurations. Close #3200.
* testsuite: Use printk for all test output where possible.Chris Johns2017-10-2335-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.
* tmtests/tmfine01: Add test casesSebastian Huber2017-10-183-2119/+4188
| | | | | | | | Update #2674. Update #3112. Update #3113. Update #3114. Update #3115.
* tmtests/tmcontext01: Prevent GCC 7.1 optimizationsSebastian Huber2017-07-201-20/+21
| | | | | It is getting harder to prevent the compiler from optimizing away the recursive function calls.
* confdefs.h: Add SMP enabled field to configurationSebastian Huber2017-05-162-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.