summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: _Chain_Insert_ordered_unprotected()Sebastian Huber2017-11-061-7/+12
| | | | | | Change the chain order relation to use a directly specified left hand side value. This is similar to _RBTree_Insert_inline() and helps the compiler to better optimize the code.
* tests: Use <tmacros.h> in all testsSebastian Huber2017-11-0619-95/+57
| | | | | Update #3170. Update #3199.
* fsjffs2gc01: Fix sporadic test failuresSebastian Huber2017-11-061-0/+8
|
* tests: Use simple console driverSebastian Huber2017-11-06618-614/+626
| | | | | Update #3170. Update #3199.
* score: Add _IO_Printf() and _IO_Vprintf()Sebastian Huber2017-11-062-92/+150
| | | | | | | | | | | | | | The previous vprintk() implementation had a questionable licence header, lacks support for the 'z' and 'j' format specifiers, is not robust against invalid format specifiers, uses a global variable for output. Replace it with a stripped down version of the FreeBSD kernel kvprintf() function. The new implementation allows a low overhead rtems_snprintf() if necessary. Update #3199. Close #3216.
* smpscheduler02: Avoid sporadic test failuresSebastian Huber2017-11-031-0/+4
|
* posix: Use far future for very long timeoutsSebastian Huber2017-11-021-7/+52
| | | | Close #3205.
* tests: Use printf() instead of fprintf()Sebastian Huber2017-11-0211-158/+143
| | | | | Update #3170. Update #3199.
* tests: Delete obsolete TESTS_USE_PRINTFSebastian Huber2017-11-024-4/+0
| | | | | Update #3170. Update #3199.
* smppsxaffinity02: Fix thread attribute usageSebastian Huber2017-11-021-0/+4
| | | | | | | | | The pthread_getattr_np() returns now the stack address and size. Do not use this stack for the new threads. Update #2514. Update #3145. Update #3168.
* testsuite: Add bspIo for a local printk.Chris Johns2017-10-301-0/+2
| | | | | Update #3170. Update #3199.
* tests: Remove TEST_INITSebastian Huber2017-10-28549-1096/+1
| | | | | | | | The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
* tests: Remove obsolete TESTS_USE_PRINTKSebastian Huber2017-10-2840-43/+0
| | | | | Update #3170. Update #3199.
* tests: Use rtems_test_printer in generalSebastian Huber2017-10-2810-180/+59
| | | | | Update #3170. Update #3199.
* tests: Use rtems_print_printer_fprintf_putc()Sebastian Huber2017-10-2810-10/+10
| | | | | | | | Use rtems_print_printer_fprintf_putc() instead of rtems_print_printer_printf() to output via rtems_putc(). Update #3170. Update #3199.
* tests: Use rtems_test_printerSebastian Huber2017-10-287-39/+21
| | | | | Update #3170. Update #3199.
* tests: Move rtems_test_printer definitionSebastian Huber2017-10-2812-14/+0
| | | | | | | Statically initialize it to use printk(). Update #3170. Update #3199.
* sptests/spscheduler01: Test POSIX set/get affinitySebastian Huber2017-10-282-23/+98
|
* score: Fix _Scheduler_Set_affinity()Sebastian Huber2017-10-281-1/+12
|
* smptests: Fix format warningsSebastian Huber2017-10-262-3/+3
|
* psxtests/psxstat: Fix format warningsSebastian Huber2017-10-261-2/+2
|
* psxtests/psxclockrealtime01: Fix warningsSebastian Huber2017-10-261-0/+2
| | | | Update #3182.
* smptests: Remove duplicate Makefile targetsSebastian Huber2017-10-251-2/+0
| | | | Close #3187.
* rtems: rtems_clock_get_ticks_per_second()Sebastian Huber2017-10-251-0/+3
| | | | | | | Add macro implementation for rtems_clock_get_ticks_per_second() for C/C++ to avoid the function call overhead. A rtems_clock_get_ticks_per_second() is still provided for language bindings (e.g. Ada).
* testsuite: Fix buildChris Johns2017-10-251-0/+2
| | | | Updates #3170.
* score: Move thread queue timeout handlingSebastian Huber2017-10-241-1/+1
| | | | | Update #3117. Update #3182.
* score: Add _Watchdog_Nanoseconds_per_tickSebastian Huber2017-10-241-0/+1
| | | | | | | Move it from the configuration to a separate variable. Update #3117. Update #3182.
* score: _Watchdog_Is_far_future_monotonic_timespecSebastian Huber2017-10-241-0/+1
| | | | | Update #3117. Update #3182.
* score: Add _Watchdog_Ticks_per_secondSebastian Huber2017-10-241-0/+6
| | | | | | | | This value is frequently used. Avoid the function call overhead and the integer division at run-time. Update #3117. Update #3182.
* psxclockrealtime01: New testSebastian Huber2017-10-246-0/+700
| | | | Update #3182.
* tmtests/tmfine01: Reduce test context sizeSebastian Huber2017-10-241-0/+4
| | | | | | Reduce test context size in non-SMP configurations. Close #3200.
* testsuite: Fix buildSebastian Huber2017-10-231-0/+2
| | | | Updates #3170.
* testsuite: Remove warnings.Chris Johns2017-10-231-17/+18
|
* testsuite: Use printk for all test output where possible.Chris Johns2017-10-23555-342/+1349
| | | | | | | | | | - 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.
* libtests/tar01: Fix build dependenciesSebastian Huber2017-10-211-2/+7
|
* sptests/sptimecounter04: New testChristian Mauderer2017-10-186-0/+119
| | | | | Ensure that the time flow of CLOCK_REALTIME and CLOCK_MONOTONIC is close to the clock driver ticks time flow.
* tmtests/tmfine01: Add test casesSebastian Huber2017-10-183-2119/+4188
| | | | | | | | Update #2674. Update #3112. Update #3113. Update #3114. Update #3115.
* posix: Remove POSIX_API_Control::schedparamSebastian Huber2017-10-171-5/+1
| | | | | | | | Move sporadic server scheduler parameters to POSIX_API_Control::Sporadic. Remove redundant scheduler priority parameter. Update #2514.
* posix: Fix _POSIX_Threads_Create_extension()Sebastian Huber2017-10-171-0/+8
| | | | | | The thread POSIX API control must be fully initialized in _POSIX_Threads_Create_extension(), otherwise a pthread_setschedparam() is broken for all threads not created with pthread_create().
* score: Rename watchdog variantsSebastian Huber2017-10-172-3/+3
| | | | | | | | | | | Rename PER_CPU_WATCHDOG_RELATIVE in PER_CPU_WATCHDOG_MONOTONIC to highlight the corresponding POSIX CLOCK_MONOTONIC. Rename PER_CPU_WATCHDOG_ABSOLUTE in PER_CPU_WATCHDOG_REALTIME to highlight the corresponding POSIX CLOCK_REALTIME. Update #3117. Update #3182.
* spthreadq01/init.c: Fix unused variable warningsJoel Sherrill2017-10-121-3/+0
|
* ada-tests: Move to testsuites/adaSebastian Huber2017-10-12507-0/+44887
| | | | | | | This solves a build dependency issue, e.g. building tests before librtemsbsp.a exists. Close #3079.
* Fix warnings for using C/ObjC specific GCC flags with C++Joel Sherrill2017-10-111-0/+6
| | | | Closes #3181.
* Fix spprofiling01 overriding recipe warningJoel Sherrill2017-10-112-2/+2
| | | | Closes #3084.
* smpaffinity01: Fix test caseSebastian Huber2017-10-112-10/+10
| | | | Update #2514.
* score: Remove CPU_set_ControlSebastian Huber2017-10-111-13/+0
| | | | | | Use Processor_mask instead. Update #2514.
* posix: Validate affinity sets by the schedulerSebastian Huber2017-10-112-7/+7
| | | | Update #2514.
* posix: Constify default thread processor affinitySebastian Huber2017-10-102-0/+8
| | | | | | | | Set default thread processor affinity to all processors of the pre-allocated set. This allows to constify the _POSIX_Threads_Default_attributes. Update #2514.
* posix: Simplify pthread_attr_setstack()Sebastian Huber2017-10-101-1/+4
| | | | | | | | | Simplify * pthread_attr_setstack(), and * pthread_attr_setstacksize(). Update #2514.
* posix: Remove rtems_pthread_attribute_compare()Sebastian Huber2017-10-091-1/+67
| | | | | Update #2514. Close #3174.