summaryrefslogtreecommitdiff
path: root/testsuites/libtests (follow)
AgeCommit message (Collapse)Author
2017-11-29block06/init.c: Fix printf() format warningJoel Sherrill
2017-11-24libtests/malloctest: Fix 64-bit targetsSebastian Huber
Update #3082.
2017-11-24libtests/stringto01: Fix 64-bit targetsSebastian Huber
Update #3082.
2017-11-17getentropy: Add test.Christian Mauderer
Update #3239.
2017-11-15dl01, dl02, dl05: Fix unresolved printf symbolSebastian Huber
The link time wrap of printf leads to unresolved symbols in the loadable modules. This resulted in infinite loops and test timeouts. Use rtems_printf() for output. Update #3199.
2017-11-11tests: Use ld to map (wrap) printf, puts and putchar to tester functions.Chris Johns
- 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.
2017-11-07termios: Fix canonical modeSebastian Huber
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.
2017-11-07tests: Use normal console for user input testsSebastian Huber
2017-11-07tests: Use <tmacros.h>Sebastian Huber
Update #3170. Update #3199.
2017-11-06tests: Use <tmacros.h> in all testsSebastian Huber
Update #3170. Update #3199.
2017-11-06tests: Use simple console driverSebastian Huber
Update #3170. Update #3199.
2017-11-02tests: Use printf() instead of fprintf()Sebastian Huber
Update #3170. Update #3199.
2017-11-02tests: Delete obsolete TESTS_USE_PRINTFSebastian Huber
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber
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 Huber
Update #3170. Update #3199.
2017-10-28tests: Use rtems_test_printer in generalSebastian Huber
Update #3170. Update #3199.
2017-10-28tests: Use rtems_print_printer_fprintf_putc()Sebastian Huber
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 Huber
Update #3170. Update #3199.
2017-10-28tests: Move rtems_test_printer definitionSebastian Huber
Statically initialize it to use printk(). Update #3170. Update #3199.
2017-10-23testsuite: Remove warnings.Chris Johns
2017-10-23testsuite: Use printk for all test output where possible.Chris Johns
- 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 Huber
2017-09-15libio: Use FIFO for iop free listSebastian Huber
Update #3136.
2017-07-28Fix IO control request typeSebastian Huber
2017-07-28libtests/block08: Fix format warningSebastian Huber
2017-07-19tests: Use floating point taskSebastian Huber
These tests directly or indirectly use fprintf(), etc. which may use the floating point unit. Update #3076.
2017-07-18tests: Use floating point taskSebastian Huber
These tests directly or indirectly use fprintf(), etc. which may use the floating point unit. Update #3076.
2017-06-30newlib01: Use fopen() instead of freopen()Sebastian Huber
With global stdio streams, a freopen() would close the global stream object. Update #3012.
2017-06-21dl03/dl-cache.c: Fix duplicate const warningJoel Sherrill
2017-06-21malloctest/init.c: Disable check maximum size warning to allow error test caseJoel Sherrill
2017-06-21top/task1.c: Fix sprintf() buffer overflowJoel Sherrill
2017-06-21rbheap01/init.c: Fix PAGE_SIZE redefined warningJoel Sherrill
2017-06-13tests: Fix build dependenciesSebastian Huber
See also: https://www.gnu.org/software/automake/manual/html_node/Built-Sources-Example.html
2017-06-07Move RTEMS-specific Termios API contentSebastian Huber
Remove obsolete support for OFILL, OFDEL, NLDLY, CRDLY, BSDLY, VTDLY, and FFDLY which is not present on FreeBSD and not implemented in Linux. Update #2833.
2017-05-16confdefs.h: Add SMP enabled field to configurationSebastian Huber
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.
2017-05-11confdefs.h: CONFIGURE_DISABLE_SMP_CONFIGURATIONSebastian Huber
Enable the SMP configuration by default in case SMP is enabled. Add configuration option CONFIGURE_DISABLE_SMP_CONFIGURATION to disable it explicitly. Add CONFIGURE_DISABLE_SMP_CONFIGURATION to all test which would fail otherwise. Update #3001.
2017-05-11testsuites: Fix build dependences for generated files.Chris Johns
2017-04-25block08/bdbuf_tests.c: Add include of <rtems/inttypes.h>Joel Sherrill
2017-04-25rtems/inttypes.h, block08: Add and use PRIdrtems_blkdev_bnumJoel Sherrill
2017-04-25devnullfatal01/testcase.h: Avoid redefinition of TESTS_USE_PRINTKJoel Sherrill
2017-04-04testsuite: Add a common test configuration. Fix configure.ac and Makefile.am ↵Chris Johns
errors. - Add a top level test configuration file for test states that are common to all BSPs. This saves adding a test configuration (tcfg) file for every BSP. - Add the test states 'user-input' and 'benchmark'. This lets 'rtems-test' stop the test rather than waiting for a timeout or letting a benchmark run without the user asking for it to run. - Implement rtems-test-check in Python to make it faster. The shell script had grown to a point it was noticably slowing the build down. - Fix the configure.ac and Makefile.am files for a number of the test directories. The files are difficiult to keep in sync with the number of tests and mistakes can happen such as tests being left out of the build. The test fsrofs01 is an example. Also a there was a mix of SUBDIRS and _SUBDIRS being used and only _SUBDIRS should be used. - Fix the test fsrofs01 so it compiles. Closes #2963.
2017-03-31libdl: Support link ordered loading of ELF sections.Chris Johns
The ARM C++ exception ABI uses an address ordered index table to locate the correct frame data and this requires the EXIDX sections are loaded in the order the order the matching text is loaded. The EXIDX sections set the SHF_LINK_ORDER flag and link field. This patch adds support to load those flagged sections in the linked-to section order. Updates #2955. Closes #2959
2017-03-22termios: Synchronize with latest FreeBSD headersKevin Kirspel
Adding modified FreeBSD headers to synchronize RTEMS termios with FreeBSD. Modify termios to support dedicated input and output baud for termios structure. Updated BSPs to use dedicated input and output baud in termios structure. Updated tools to use dedicated input and output baud in termios structure. Updated termios testsuites to use dedicated input and output baud in termios structure. Close #2897.
2017-02-28termios09: Test send callbackSebastian Huber
2017-02-28termios: Implement non-blocking writeSebastian Huber
2017-02-28termios: Make write POSIX compatibleSebastian Huber
Currently only blocking read/write operations are implemented. A blocking write must transfer at least one character. It should not wait for the device for the second character and so on. Close #2917.
2017-02-28termios: Simplify oproc()Sebastian Huber
Call rtems_termios_puts() only once. Adjust column in one place.
2017-02-28termios09: Test output post processingSebastian Huber
2017-02-28termios: Fix infinite loop in receive pathSebastian Huber
In canonical mode, the raw input buffer or the canonical buffer may overflow without an end of line. Avoid an infinite loop in this case. Close #2915.
2017-02-28termios: Change receive callback invocationSebastian Huber
Call the receive callback in case a read will succeed without to block. This enables the use of the receive callback for a poll() and select() support. Increase raw input buffer size to allow buffering of one line. Close #2916.