summaryrefslogtreecommitdiff
path: root/testsuites/psxtests (follow)
AgeCommit message (Collapse)Author
2020-04-16Canonicalize config.h includeSebastian Huber
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2020-04-14score: Check time of day in _TOD_Set()Sebastian Huber
Close #3949.
2020-04-07Tests for inttype.h methodsEshan dhawan
2020-03-31testsuites: Remove CONFIGURE_MALLOC_STATISTICSSebastian Huber
This configuration option is obsolete since 2014. Update #1367.
2020-02-25libio: Add POSIX user environment pointer to TCBSebastian Huber
The IO library used a POSIX key to store an optional POSIX user environment pointer. This pulled in the POSIX keys support in every application configuration. Add a user environment pointer to the thread control block (TCB) instead. Applications which do not need the POSIX user environment will just get an overhead of one pointer per thread. Close #3882.
2020-02-25config: Remove CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLESebastian Huber
The CONFIGURE_HAS_OWN_INIT_TASK_TABLE and CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE are the last *_HAS_OWN_* configuration options. These two options are probably unused, see also: * https://lists.rtems.org/pipermail/users/2019-April/033129.html * https://lists.rtems.org/pipermail/users/2019-April/033130.html Removing them simplifies the configuration. If there is a real user need which shows up after the removal, we can resurrect them on demand. Using CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE would have required the use of the undocumented CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME and CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE configuration options. Update #3874.
2020-01-28psxmsgq03: Adjust test caseSebastian Huber
Commit e22554535796fc29a7ed7c5e2338128e324a621d changed the error status from ENOMEM to EAGAIN. Update #3857.
2020-01-17posix_devctl - Add support for SOCKCLOSEJoel Sherrill
The FACE Technical Standard, Edition 3.0 and later require the definition of the subcommand SOCKCLOSE in <devctl.h>. Reference: ​https://www.opengroup.org/face closes #3856.
2019-12-19config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber
Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
2019-12-13config: Add CONFIGURE_IMFS_ENABLE_MKFIFOSebastian Huber
Obsolete undocumented configuration options CONFIGURE_MAXIMUM_FIFOS and CONFIGURE_MAXIMUM_PIPES. Replace these options with the new CONFIGURE_IMFS_ENABLE_MKFIFO configuration option. Update #3840.
2019-12-05libtest: Change expected pass state stringSebastian Huber
Use separator character '_' for all test states.
2019-12-02Move feature macro before "config.h" includeSebastian Huber
This allows to use header includes in "config.h" to reduce the build configuration checks. Update #3818.
2019-11-26psxinttypes01: Remove invalid test casesSebastian Huber
The functions expect a valid string as input according to POSIX. On systems with a NULL pointer protection the test cases ended up in exceptions.
2019-11-12sptests: Avoid include path magicSebastian Huber
Update #3818.
2019-11-12tests: Simplify fatal error test supportSebastian Huber
Move system.h to shared init.c. Update #3818.
2019-11-12psxtests: Avoid build system defined definesSebastian Huber
Update #3818.
2019-11-12psxfenv01: Check FE_DIVBYZERO defineSebastian Huber
2019-10-01psxtests/psxualarm: Fix test failureSebastian Huber
Update #3794.
2019-09-24Correct initial POSIX signals maskJoel Sherrill
+ Modify POSIX thread create extension to ensure expected initial signal mask is provided to system threads, initial tasks and threads, and inheritied by tasks and threads. + Adds psxsignal07 to verify functionality when using a POSIX Initialization thread and POSIX threads. + Adds psxsignal08 to verify functionality when using a Classic API Initialization task and Classic API tasks. Closes #3794.
2019-09-10Add psxfenv01 test to psxtestsVaibhav Gupta
Note that this test requires a functional fenv implementation. Some targets have multilib variants where the fenv implementation is not 100% passing.
2019-07-30psxtests: Add ndbm test suiteVaibhav Gupta
Joel Sherrill <joel@rtems.org> modified the patch to add autoconf logic to avoid building this new test unless the tool chain include <ndbm.h>. The ensures that git bisect continues to work and that the addition of this test does not immediately force the entire community to update their tools.
2019-06-19psxtests: Add psxinttypes01 for <inttypes.h> methodsVaibhav Gupta
2019-05-07Makefile.am: Add psxhdrs/termios files to buildJoel Sherrill
2019-05-07psxhdrs: Add POSIX API Signature Compliance Tests for termios.hJacob Shin
2019-04-09rtems: Add rtems_scheduler_get_processor_maximum()Sebastian Huber
Add rtems_scheduler_get_processor_maximum() as a replacement for rtems_get_processor_count(). The rtems_get_processor_count() is a bit orphaned. Adopt it by the Scheduler Manager. The count is also misleading, since the processor set may have gaps and the actual count of online processors may be less than the value returned by rtems_get_processor_count(). Update #3732.
2019-03-25psxhdrs/stdio/v*.c: Fix warnings in varargs testsJoel Sherrill
2019-03-07testsuite: Make the OPERATION_COUNT a test configuration parameter.Chris Johns
- Add a small memory test config file. - Update the small memory PowerPC BSPs to use the new test config.
2019-02-18psxtests/psxonce01: Fix typoSebastian Huber
Update #3334.
2019-02-18score: Avoid some deadlocks in _Once()Sebastian Huber
Recursive usage of the same pthread_once_t results now in a deadlock. Previously, an error of EINVAL was returned. This usage scenario is invalid according to the POSIX pthread_once() specification. Close #3334.
2019-02-12psxtests: Remove bogus fileSebastian Huber
This file is unused and makes trouble on Windows. Updates #3638.
2019-01-30build: Do not install test programsSebastian Huber
2019-01-10Fix format warnings due to ino_t changesSebastian Huber
2019-01-10psxconfig01: Fix pre-processor conditionsSebastian Huber
Do not rely on compiler optimizations to throw away empty loops. Close #3673.
2019-01-08psxhdrs: Add POSIX API Signature Compliance Tests for errno.hJacob Shin
2019-01-07psxfile01: Fix one second sleepJiri Gaisler
Checking of atime in psxfile01 (line 713) can fail since a delay for rtems_clock_get_ticks_per_second (line 699) gives a delay of less than one second, depending on when the last tick occurred. atime is measured in whole seconds, and a fast processor might read the file before a new second occurs. Add one tick to the delay will solve the problem.
2018-12-20psxhdrs: Changing copyright license to BSD-2-ClauseJacob Shin
2018-12-14psxhdrs: Update licenses to 2-Clause BSD (GCI 2018)Marçal Comajoan Cara
Updated licenses of the files I wrote to the 2-Clause BSD License. This work was part of GCI 2018.
2018-12-14Some minor fix on psxhdrsHimanshu40
2018-12-14psxhdrs: Changed the copyright license to BSD-2-Clause (GCI 2018)Himanshu40
2018-12-14score: Static Objects_Information initializationSebastian Huber
Statically allocate the objects information together with the initial set of objects either via <rtems/confdefs.h>. Provide default object informations with zero objects via librtemscpu.a. This greatly simplifies the workspace size estimate. RTEMS applications which do not use the unlimited objects option are easier to debug since all objects reside now in statically allocated objects of the right types. Close #3621.
2018-12-13psxhdrs: Changed the Copyright license to BSD-2-Clause .Pritish Jain
The Copyright clause has been changed to BSD-2-Clause for all the tests in the header files math.h , utime.h , fmtmsg.h and sys/ipc.h .
2018-12-13psxhdrs: Add POSIX API Signature Compliance Tests for sys/msg.h (GCI 2018)Jacob Shin
2018-12-13psxhdrs: Add POSIX API Signature Compliance Tests for sys/select.h (GCI 2018)Jacob Shin
The Google Code-In finished before I could submit this, so I thought I would submit this instead of letting it go to waste.
2018-12-13psxhdrs: Add POSIX Signature Compliance Test for sys/shm.h (GCI 2018)ABR290B
2018-12-13POSIX Signature Compliance Test for utmpx.h (GCI2018)ABR290B
2018-12-13POSIX Signature Compliance Test for sys/statvfs.h (GCI 2018)ABR290B
2018-12-12psxhdrs: Add POSIX API Signature Compliance Tests for net/if.hJacob Shin
2018-12-11psxhdrs/: Changed boilerplate licenses to BSD-2 (GCI 2018)zehata
2018-12-11psxhdrs: POSIX API Signature Compliance Test for setjmp.h (GCI2018)ABR290B
2018-12-11psxhdrs: Implement POSIX API Signature Compliance Tests for poll.h (GCI 2018)Marçal Comajoan Cara
poll.h implements poll() which is not supported by RTEMS according to the RTEMS POSIX 1003.1 Compliance Guide. See #3657. This work was part of GCI 2018.