summaryrefslogtreecommitdiffstats
path: root/testsuites (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-11-06score: _Chain_Insert_ordered_unprotected()Sebastian Huber1-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.
2017-11-06tests: Use <tmacros.h> in all testsSebastian Huber19-95/+57
Update #3170. Update #3199.
2017-11-06fsjffs2gc01: Fix sporadic test failuresSebastian Huber1-0/+8
2017-11-06tests: Use simple console driverSebastian Huber618-614/+626
Update #3170. Update #3199.
2017-11-06score: Add _IO_Printf() and _IO_Vprintf()Sebastian Huber2-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.
2017-11-03smpscheduler02: Avoid sporadic test failuresSebastian Huber1-0/+4
2017-11-02posix: Use far future for very long timeoutsSebastian Huber1-7/+52
Close #3205.
2017-11-02tests: Use printf() instead of fprintf()Sebastian Huber11-158/+143
Update #3170. Update #3199.
2017-11-02tests: Delete obsolete TESTS_USE_PRINTFSebastian Huber4-4/+0
Update #3170. Update #3199.
2017-11-02smppsxaffinity02: Fix thread attribute usageSebastian Huber1-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.
2017-10-30testsuite: Add bspIo for a local printk.Chris Johns1-0/+2
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber549-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.
2017-10-28tests: Remove obsolete TESTS_USE_PRINTKSebastian Huber40-43/+0
Update #3170. Update #3199.
2017-10-28tests: Use rtems_test_printer in generalSebastian Huber10-180/+59
Update #3170. Update #3199.
2017-10-28tests: Use rtems_print_printer_fprintf_putc()Sebastian Huber10-10/+10
Use rtems_print_printer_fprintf_putc() instead of rtems_print_printer_printf() to output via rtems_putc(). Update #3170. Update #3199.
2017-10-28tests: Use rtems_test_printerSebastian Huber7-39/+21
Update #3170. Update #3199.
2017-10-28tests: Move rtems_test_printer definitionSebastian Huber12-14/+0
Statically initialize it to use printk(). Update #3170. Update #3199.
2017-10-28sptests/spscheduler01: Test POSIX set/get affinitySebastian Huber2-23/+98
2017-10-28score: Fix _Scheduler_Set_affinity()Sebastian Huber1-1/+12
2017-10-26smptests: Fix format warningsSebastian Huber2-3/+3
2017-10-26psxtests/psxstat: Fix format warningsSebastian Huber1-2/+2
2017-10-26psxtests/psxclockrealtime01: Fix warningsSebastian Huber1-0/+2
Update #3182.
2017-10-25smptests: Remove duplicate Makefile targetsSebastian Huber1-2/+0
Close #3187.
2017-10-25rtems: rtems_clock_get_ticks_per_second()Sebastian Huber1-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).
2017-10-25testsuite: Fix buildChris Johns1-0/+2
Updates #3170.
2017-10-24score: Move thread queue timeout handlingSebastian Huber1-1/+1
Update #3117. Update #3182.
2017-10-24score: Add _Watchdog_Nanoseconds_per_tickSebastian Huber1-0/+1
Move it from the configuration to a separate variable. Update #3117. Update #3182.
2017-10-24score: _Watchdog_Is_far_future_monotonic_timespecSebastian Huber1-0/+1
Update #3117. Update #3182.
2017-10-24score: Add _Watchdog_Ticks_per_secondSebastian Huber1-0/+6
This value is frequently used. Avoid the function call overhead and the integer division at run-time. Update #3117. Update #3182.
2017-10-24psxclockrealtime01: New testSebastian Huber6-0/+700
Update #3182.
2017-10-24tmtests/tmfine01: Reduce test context sizeSebastian Huber1-0/+4
Reduce test context size in non-SMP configurations. Close #3200.
2017-10-23testsuite: Fix buildSebastian Huber1-0/+2
Updates #3170.
2017-10-23testsuite: Remove warnings.Chris Johns1-17/+18
2017-10-23testsuite: Use printk for all test output where possible.Chris Johns555-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.
2017-10-21libtests/tar01: Fix build dependenciesSebastian Huber1-2/+7
2017-10-18sptests/sptimecounter04: New testChristian Mauderer6-0/+119
Ensure that the time flow of CLOCK_REALTIME and CLOCK_MONOTONIC is close to the clock driver ticks time flow.
2017-10-18tmtests/tmfine01: Add test casesSebastian Huber3-2119/+4188
Update #2674. Update #3112. Update #3113. Update #3114. Update #3115.
2017-10-17posix: Remove POSIX_API_Control::schedparamSebastian Huber1-5/+1
Move sporadic server scheduler parameters to POSIX_API_Control::Sporadic. Remove redundant scheduler priority parameter. Update #2514.
2017-10-17posix: Fix _POSIX_Threads_Create_extension()Sebastian Huber1-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().
2017-10-17score: Rename watchdog variantsSebastian Huber2-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.
2017-10-12spthreadq01/init.c: Fix unused variable warningsJoel Sherrill1-3/+0
2017-10-12ada-tests: Move to testsuites/adaSebastian Huber507-0/+44887
This solves a build dependency issue, e.g. building tests before librtemsbsp.a exists. Close #3079.
2017-10-11Fix warnings for using C/ObjC specific GCC flags with C++Joel Sherrill1-0/+6
Closes #3181.
2017-10-11Fix spprofiling01 overriding recipe warningJoel Sherrill2-2/+2
Closes #3084.
2017-10-11smpaffinity01: Fix test caseSebastian Huber2-10/+10
Update #2514.
2017-10-11score: Remove CPU_set_ControlSebastian Huber1-13/+0
Use Processor_mask instead. Update #2514.
2017-10-11posix: Validate affinity sets by the schedulerSebastian Huber2-7/+7
Update #2514.
2017-10-10posix: Constify default thread processor affinitySebastian Huber2-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.
2017-10-10posix: Simplify pthread_attr_setstack()Sebastian Huber1-1/+4
Simplify * pthread_attr_setstack(), and * pthread_attr_setstacksize(). Update #2514.
2017-10-09posix: Remove rtems_pthread_attribute_compare()Sebastian Huber1-1/+67
Update #2514. Close #3174.