summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests: Use ld to map (wrap) printf, puts and putchar to tester functions.Chris Johns2017-11-118-52/+6
| | | | | | | | | - Remove the macro defines and the need for tmacro.h by remapping the symbols using ld's wrap option. - Remove FLUSH_OUTPUT, it was empty. - Move rtems_test_exit to libmisc/testsupport as a function. Update #3199.
* tests: Use rtems_test_begin and rtems_test_end.Chris Johns2017-11-113-47/+6
| | | | | | Add a tests enum and move all test banner test to the library in libmisc. Update #3199.
* cpukit: Add a Version API.Chris Johns2017-11-106-0/+125
| | | | | | | | Provide functions to get the version string, major, minor and revision numbers and the version control identifer that is a unique tag for the version control system. Update #3199.
* pppd/Makefile.am: Add support/includeJoel Sherrill2017-11-091-0/+2
|
* Upgrade to 5.0.0Sebastian Huber2017-11-091-2/+2
| | | | | | | Tool name will be "rtems5", e.g. arm-rtems5-gcc. Next release will 5.1.0. Branch version after release will be 5.1.1. Next master will be 6.0.0.
* posix: Change created_with_explicit_schedulerSebastian Huber2017-11-091-6/+62
| | | | | | | | Remove POSIX_API_Control::created_with_explicit_scheduler. Add Thread_Control::was_created_with_inherited_scheduler. This fixes also pthread_getattr_np() for Classic tasks. Update #2514.
* posix: Remove POSIX_API_Control::schedpolicySebastian Huber2017-11-091-12/+14
| | | | | | | Use the thread CPU budget algorithm to determine the scheduler policy. This fixes also pthread_getschedparam() for Classic tasks. Update #2514.
* sptests/spconsole01: New testSebastian Huber2017-11-086-0/+932
|
* termios: Fix canonical modeSebastian Huber2017-11-071-20/+77
| | | | | | | In canonical mode, input is made available line by line. We must stop the canonical buffer filling upon reception of an end-of-line character. Close #3218.
* tests: Use normal console for user input testsSebastian Huber2017-11-076-6/+6
|
* tests: Use <tmacros.h>Sebastian Huber2017-11-073-4/+6
| | | | | Update #3170. Update #3199.
* 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().