summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/newlib01 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update company nameSebastian Huber2023-05-201-1/+1
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* Support _REENT_THREAD_LOCAL Newlib configurationMatt Joyce2022-07-211-4/+7
| | | | | | | | | In case the Newlib _REENT_THREAD_LOCAL configuration option is enabled, the struct _reent is not defined (there is only a forward declaration in <sys/reent.h>). Instead, the usual members of struct _reent are available as dedicatd thread-local storage objects. Update #4560.
* Newlib01: Add tests for rand() and lrand48()Matt Joyce2022-06-092-0/+53
| | | | | | Check that the state of rand() and lrand48() is thread-specific, that they are properly initialized, and return the expected sequence of pseudo-random numbers for default seed values.
* testsuites/libtests/[d-o]*: Change license to BSD-2Joel Sherrill2022-04-071-3/+22
| | | | Updates #3053.
* newlib01: Added tests for exit proceduresMatt Joyce2022-03-312-23/+100
| | | | | | Added tests for exit procedures to ensure proper resource cleanup. The test now checks cleanup for files assigned to stdio streams and non-stdio streams.
* newlib01: Adjust variable nameSebastian Huber2022-03-241-4/+4
|
* newlib01: Check exit processing for file objectsMatt Joyce2022-03-241-16/+134
|
* bsps/testsuites/: Scripted embedded brains header file clean upJoel Sherrill2022-03-101-6/+0
| | | | Updates #4625.
* newlib01: Edit asserts to check initializationMatt Joyce2022-02-161-3/+3
| | | | | | Edit assert statements in worker thread to check initialization against the __cleanup member of struct _reent instead of __sdidinit. This will allow the removal of sdidinit in a follow up Newlib patch.
* Canonicalize config.h includeSebastian Huber2020-04-161-1/+1
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* testsuite/newlib: Check newlib does not touch an assigned std FILE pointerChris Johns2020-02-181-1/+15
| | | | Update #3870
* config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber2019-12-191-1/+1
| | | | | | | Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
* testsuite/libtests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-101-19/+0
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* tests: Use simple console driverSebastian Huber2017-11-061-1/+1
| | | | | Update #3170. Update #3199.
* tests: Remove TEST_INITSebastian Huber2017-10-281-2/+0
| | | | | | | | The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
* testsuite: Use printk for all test output where possible.Chris Johns2017-10-231-0/+2
| | | | | | | | | | - 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.
* Fix IO control request typeSebastian Huber2017-07-281-1/+1
|
* 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.
* IMFS: Replace node union with individual structSebastian Huber2015-01-271-7/+5
| | | | | | This reduces the average node size. Add and use IMFS_GENERIC_INITIALIZER().
* Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber2014-12-161-2/+0
| | | | This define was superfluous, undocumented and used inconsistently.
* tests: Add documentationSebastian Huber2014-09-011-1/+6
|
* libtests/newlib01: New testSebastian Huber2014-04-014-0/+345