summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/newlib01/init.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-06-09Newlib01: Add tests for rand() and lrand48()Matt Joyce1-0/+50
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.
2022-04-07testsuites/libtests/[d-o]*: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2022-03-31newlib01: Added tests for exit proceduresMatt Joyce1-22/+96
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.
2022-03-24newlib01: Adjust variable nameSebastian Huber1-4/+4
2022-03-24newlib01: Check exit processing for file objectsMatt Joyce1-16/+134
2022-03-10bsps/testsuites/: Scripted embedded brains header file clean upJoel Sherrill1-6/+0
Updates #4625.
2022-02-16newlib01: Edit asserts to check initializationMatt Joyce1-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.
2020-04-16Canonicalize config.h includeSebastian Huber1-1/+1
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2020-02-18testsuite/newlib: Check newlib does not touch an assigned std FILE pointerChris Johns1-1/+15
Update #3870
2019-12-19config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber1-1/+1
Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
2017-11-06tests: Use simple console driverSebastian Huber1-1/+1
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber1-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.
2017-10-23testsuite: Use printk for all test output where possible.Chris Johns1-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.
2017-07-28Fix IO control request typeSebastian Huber1-1/+1
2017-06-30newlib01: Use fopen() instead of freopen()Sebastian Huber1-3/+11
With global stdio streams, a freopen() would close the global stream object. Update #3012.
2015-01-27IMFS: Replace node union with individual structSebastian Huber1-7/+5
This reduces the average node size. Add and use IMFS_GENERIC_INITIALIZER().
2014-12-16Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber1-2/+0
This define was superfluous, undocumented and used inconsistently.
2014-04-01libtests/newlib01: New testSebastian Huber1-0/+311