summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* posix: glibc compatibilitySebastian Huber2015-09-022-7/+7
|
* psxtests/psxcancel: Check return statusSebastian Huber2015-09-011-10/+24
| | | | Update #2402.
* psxualarm: Avoid endless signal handlingSebastian Huber2015-05-191-2/+2
| | | | Increase the ualarm timer interval to avoid endless signal handling.
* Add test assertion for allocator mutex being unlockedJoel Sherrill2015-04-142-19/+0
| | | | | | | | | | The Allocator Mutex should not be locked outside a tested service call. In an SMP test or heavily multithreaded test, this is possible since another thread could have the lock for an extended period of time but this is not the norm for the tests. updates 2319.
* psxconfig01/init.c: Correct pointer/integer size warningJoel Sherrill2015-03-241-1/+1
|
* psxtests/psx15/init.c: Correct printf() warningJoel Sherrill2015-03-241-1/+3
|
* testsuites/psxtests/psxsignal03/init.c: Fix line wrapJoel Sherrill2015-03-221-1/+5
|
* Replace www.rtems.com with www.rtems.orgSebastian Huber2015-03-201-1/+1
|
* tests misc: Disable deprecated method usage warning when intentionalJoel Sherrill2015-03-171-4/+10
| | | | | These tests intentionally use the deprecated method. Eventually this code in the sections can be deleted.
* libcsupport: Delete superfluous _gettimeofday()Sebastian Huber2015-03-101-7/+0
|
* sysconf: Add _SC_NPROCESSORS_(CONF|ONLN)Sebastian Huber2015-03-091-0/+9
|
* psxtests/psxclock01: use clock() and CLOCKS_PER_SECGedare Bloom2015-03-046-1/+95
| | | | Closes #2182
* psxtests/psx05: Adjust test caseSebastian Huber2015-02-261-2/+2
| | | | Update #2170.
* psxtests: add string param to printf. closes #2241Gedare Bloom2015-02-232-2/+2
|
* IMFS: Implement variable length node namesSebastian Huber2015-02-151-1/+5
| | | | This reduces the average node size and adds more flexibility.
* psxhdrs: Reorganize into subdirectories per .h file and rename filesJoel Sherrill2015-02-12142-454/+136
| | | | | This is a better organization and makes it clearer which file is testing which method from which header file.
* psxhdrs: Remove test of pthread_attr_[gs]et_cputimeJoel Sherrill2015-02-123-84/+1
| | | | | | | These methods are no longer in the tree and the API tests should have been removed. closes 1981
* psxhdrs: Add tests for <sys/socket.h> API complianceJoel Sherrill2015-02-1219-1/+620
|
* IMFS: Add fine grained configurationSebastian Huber2015-02-125-0/+10
| | | | | | | | | | | | | | | | | | Remove miniIMFS. Statically initialize the root IMFS. Add configuration options to disable individual features of the root IMFS, e.g. o CONFIGURE_IMFS_DISABLE_CHOWN, o CONFIGURE_IMFS_DISABLE_FCHMOD, o CONFIGURE_IMFS_DISABLE_LINK, o CONFIGURE_IMFS_DISABLE_MKNOD, o CONFIGURE_IMFS_DISABLE_MOUNT, o CONFIGURE_IMFS_DISABLE_READLINK, o CONFIGURE_IMFS_DISABLE_RENAME, o CONFIGURE_IMFS_DISABLE_RMNOD, o CONFIGURE_IMFS_DISABLE_SYMLINK, o CONFIGURE_IMFS_DISABLE_UNMOUNT, and o CONFIGURE_IMFS_DISABLE_UTIME.
* Filesystem: Simplify FIFO and pipe configurationSebastian Huber2015-02-092-2/+0
|
* IMFS: Replace node union with individual structSebastian Huber2015-01-274-112/+12
| | | | | | This reduces the average node size. Add and use IMFS_GENERIC_INITIALIZER().
* psx07: Add missing parameter to printf() callJoel Sherrill2015-01-231-1/+1
| | | | | | | Close 2241. Conflicts: testsuites/psxtests/psx07/init.c
* psxtests/psx07: Fix printf() statementSebastian Huber2015-01-231-1/+1
| | | | Close #2240.
* Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber2014-12-1615-15/+0
| | | | This define was superfluous, undocumented and used inconsistently.
* Add POSIX key value pairs to resource snapshotSebastian Huber2014-12-121-15/+29
|
* posix: Delete key/value if value is set to NULLSebastian Huber2014-12-121-0/+19
|
* Update bug report URLSebastian Huber2014-12-051-1/+1
|
* Delete or rename MIN/MAX macros and definesSebastian Huber2014-11-212-10/+10
| | | | Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
* libcsupport: Implement getgroups()Sebastian Huber2014-11-202-8/+60
|
* libcsupport: Use POSIX key for getgrent()Sebastian Huber2014-11-202-0/+4
|
* libcsupport: Minimal /etc/passwd and /etc/groupSebastian Huber2014-11-202-106/+30
| | | | | Create a minimal /etc/passwd and /etc/group with user root and group root only with no passwords.
* testsuites: Avoid clock driverSebastian Huber2014-10-142-2/+2
|
* score: Rework global constructionSebastian Huber2014-10-1310-1/+209
| | | | | | Ensure that the global construction is performed in the context of the first initialization thread. On SMP this was not guaranteed in the previous implementation.
* posix: Add auto initializaton for rwlockSebastian Huber2014-10-081-0/+37
|
* psxtests/psxonce01: Use test extensionSebastian Huber2014-09-101-0/+2
|
* tests: Rework interrupt critical testsSebastian Huber2014-09-101-23/+19
| | | | | | | | | This avoids test durations of more than one hour on fast targets, since fast targets can count a lot during one clock tick period, so the minor loop iteration count was quite high. Estimate now the test body duration to iterate only through the interesting time window. Add and use interrupt_critical_section_test().
* Add _TOD_Adjust to SCORE TOD Handler.Joel Sherrill2014-07-232-4/+18
| | | | | | | | This lays the proper structure for doing future work on time adjustment algorithms. Any TOD adjustments should be requested at the API level and performed at the SCORE level. Additionally updated a test.
* testsuite: Add a per BSP test check for tests not to build.Chris Johns2014-05-051-8/+8
| | | | | | | | Provide a file per BSP to list tests that do not build for a BSP. This change removes the BSP_SMALL_MEMORY hack from the code. That hack was a mistake. Provide configuration files for each BSP with tests that cannot build.
* psxtests/psxkey02: Test for proper error caseSebastian Huber2014-04-072-37/+14
|
* Disable per task variables when SMP is enabledJoel Sherrill2014-04-041-2/+11
| | | | | | Per task variables are inherently unsafe in SMP systems. This patch disables them from the build and adds warnings in the appropriate documentation and configuration sections.
* score: Thread life cycle re-implementationSebastian Huber2014-03-311-0/+9
| | | | | | | | | | | | | | | | | | | The thread deletion is now supported on SMP. This change fixes the following PRs: PR1814: SMP race condition between stack free and dispatch PR2035: psxcancel reveals NULL pointer access in _Thread_queue_Extract() The POSIX cleanup handler are now called in the right context (should be called in the context of the terminating thread). http://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_09.html Add a user extension the reflects a thread termination event. This is used to reclaim the Newlib reentrancy structure (may use file operations), the POSIX cleanup handlers and the POSIX key destructors.
* score: Fix thread restart extensions contextSebastian Huber2014-03-311-3/+84
| | | | | Run the thread restart extensions in the context of the restarted thread. Run them with thread dispatching enabled.
* tests/fatal: Fix test namesSebastian Huber2014-03-311-1/+1
|
* psxtests/psxconfig01: Fix for POSIX keys configSebastian Huber2014-03-311-1/+1
|
* privateenv: Use POSIX keys instead of task variables.Christian Mauderer2014-03-272-0/+4
|
* tests: Produce proper begin/end messagesSebastian Huber2014-03-251-3/+3
|
* tests/psxtests: Use <rtems/test.h>Sebastian Huber2014-03-25131-190/+543
|
* tests: Use rtems_status_text()Sebastian Huber2014-03-251-29/+1
|
* posix: Prevent pthread_setspecific from returning EAGAIN.Christian Mauderer2014-03-243-0/+11
| | | | | | | | The man-page for pthread_setspecific does not define the EAGAIN return value. Further without this patch it was not possible to set keys that have been already set a new value. Add test for setting a new value to a already set key.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-21354-354/+354
|