summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add RTEMS_FATAL_SOURCE_INVALID_HEAP_FREESebastian Huber2018-06-051-9/+19
| | | | | | | | An invalid heap usage such as a double free is usually a fatal error since this indicates a use after free. Replace the use of printk() in free() with a fatal error. Update #3437.
* libtests/block05: Use rtems_blkdev_create()Sebastian Huber2018-05-181-22/+25
| | | | Update #3358.
* libblock: Init deps in rtems_blkdev_create()Sebastian Huber2018-05-181-2/+8
| | | | Update #3358.
* ftpfs: Always build FTP clientSebastian Huber2018-05-021-1/+1
| | | | | | Move FTP client filesystem to separate library libftpfs.a. Update #3419.
* libdebugger: Move to separate librarySebastian Huber2018-05-021-0/+1
| | | | | | | | | | Always build remote TCP support since it depends only on the POSIX socket API. It works with the legacy network stack and libbsd. Move it to a separate libdebugger.a library to allow an easy use with libbsd via "-ldebugger -lbsd" otherwise we would have a cyclic dependency between libbsd.a and librtemscpu.a. Update #3419.
* tests: Remove configure feature checksSebastian Huber2018-05-021-2/+0
| | | | Update #3409.
* libdl: Fix the tests loading the correct filesChris Johns2018-04-126-18/+18
|
* testsuites/dl06: Add a test for RAP format.Chris Johns2018-04-1210-26/+428
| | | | | | | This test loads a RAP format file that contains calls that are not in the kernel and linked from libm. It uses and test rtems-ld. Update #2769
* build: Add support for automake's silent build support.Chris Johns2018-04-121-61/+61
|
* 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/libtests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-10100-2480/+1401
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* build: Remove EXTRA_DISTSebastian Huber2018-04-041-1/+0
| | | | | A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
* libtests/capture01: Fix configurationSebastian Huber2018-03-071-0/+1
|
* libdl: Use self-contained recursive mutexSebastian Huber2018-02-071-1/+1
| | | | Update #2843.
* termios: Remove obsolete configuration optionsSebastian Huber2018-02-059-27/+0
| | | | Update #2843.
* termios: Use self-contained objectsSebastian Huber2018-02-021-3/+4
| | | | Update #2840.
* Remove make preinstallChris Johns2018-01-256-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* block06: Use floating-point taskSebastian Huber2018-01-191-0/+1
| | | | This test uses sprintf().
* block06/init.c: Fix printf() format warningJoel Sherrill2017-11-291-5/+4
|
* libtests/malloctest: Fix 64-bit targetsSebastian Huber2017-11-241-4/+6
| | | | Update #3082.
* libtests/stringto01: Fix 64-bit targetsSebastian Huber2017-11-241-2/+2
| | | | Update #3082.
* getentropy: Add test.Christian Mauderer2017-11-176-0/+142
| | | | Update #3239.
* dl01, dl02, dl05: Fix unresolved printf symbolSebastian Huber2017-11-154-11/+18
| | | | | | | | 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.
* tests: Use ld to map (wrap) printf, puts and putchar to tester functions.Chris Johns2017-11-111-2/+0
| | | | | | | | | - 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.
* 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-073-3/+3
|
* tests: Use <tmacros.h>Sebastian Huber2017-11-073-4/+6
| | | | | Update #3170. Update #3199.
* tests: Use <tmacros.h> in all testsSebastian Huber2017-11-068-31/+28
| | | | | Update #3170. Update #3199.
* tests: Use simple console driverSebastian Huber2017-11-0682-82/+82
| | | | | Update #3170. Update #3199.
* tests: Use printf() instead of fprintf()Sebastian Huber2017-11-024-130/+118
| | | | | Update #3170. Update #3199.
* tests: Delete obsolete TESTS_USE_PRINTFSebastian Huber2017-11-022-2/+0
| | | | | Update #3170. Update #3199.
* tests: Remove TEST_INITSebastian Huber2017-10-2883-166/+0
| | | | | | | | 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-2812-15/+0
| | | | | Update #3170. Update #3199.
* tests: Use rtems_test_printer in generalSebastian Huber2017-10-285-0/+5
| | | | | Update #3170. Update #3199.
* tests: Use rtems_print_printer_fprintf_putc()Sebastian Huber2017-10-285-5/+5
| | | | | | | | 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-285-31/+18
| | | | | Update #3170. Update #3199.
* tests: Move rtems_test_printer definitionSebastian Huber2017-10-285-5/+0
| | | | | | | Statically initialize it to use printk(). Update #3170. Update #3199.
* testsuite: Remove warnings.Chris Johns2017-10-231-17/+18
|
* testsuite: Use printk for all test output where possible.Chris Johns2017-10-2387-141/+288
| | | | | | | | | | - 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
|
* libio: Use FIFO for iop free listSebastian Huber2017-09-151-4/+11
| | | | Update #3136.
* Fix IO control request typeSebastian Huber2017-07-281-1/+1
|
* libtests/block08: Fix format warningSebastian Huber2017-07-281-1/+1
|
* tests: Use floating point taskSebastian Huber2017-07-193-3/+9
| | | | | | | These tests directly or indirectly use fprintf(), etc. which may use the floating point unit. Update #3076.
* tests: Use floating point taskSebastian Huber2017-07-1814-0/+28
| | | | | | | These tests directly or indirectly use fprintf(), etc. which may use the floating point unit. Update #3076.
* newlib01: Use fopen() instead of freopen()Sebastian Huber2017-06-301-3/+11
| | | | | | | With global stdio streams, a freopen() would close the global stream object. Update #3012.
* dl03/dl-cache.c: Fix duplicate const warningJoel Sherrill2017-06-211-1/+1
|
* malloctest/init.c: Disable check maximum size warning to allow error test caseJoel Sherrill2017-06-211-0/+3
|
* top/task1.c: Fix sprintf() buffer overflowJoel Sherrill2017-06-211-1/+1
|
* rbheap01/init.c: Fix PAGE_SIZE redefined warningJoel Sherrill2017-06-211-37/+37
|