summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-03-10libcsupport: Delete superfluous _gettimeofday()Sebastian Huber1-7/+0
2015-03-09sysconf: Add _SC_NPROCESSORS_(CONF|ONLN)Sebastian Huber1-0/+9
2015-03-04psxtests/psxclock01: use clock() and CLOCKS_PER_SECGedare Bloom6-1/+95
Closes #2182
2015-02-26psxtests/psx05: Adjust test caseSebastian Huber1-2/+2
Update #2170.
2015-02-23psxtests: add string param to printf. closes #2241Gedare Bloom2-2/+2
2015-02-15IMFS: Implement variable length node namesSebastian Huber1-1/+5
This reduces the average node size and adds more flexibility.
2015-02-12psxhdrs: Reorganize into subdirectories per .h file and rename filesJoel Sherrill142-454/+136
This is a better organization and makes it clearer which file is testing which method from which header file.
2015-02-12psxhdrs: Remove test of pthread_attr_[gs]et_cputimeJoel Sherrill3-84/+1
These methods are no longer in the tree and the API tests should have been removed. closes 1981
2015-02-12psxhdrs: Add tests for <sys/socket.h> API complianceJoel Sherrill19-1/+620
2015-02-12IMFS: Add fine grained configurationSebastian Huber5-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.
2015-02-09Filesystem: Simplify FIFO and pipe configurationSebastian Huber2-2/+0
2015-01-27IMFS: Replace node union with individual structSebastian Huber4-112/+12
This reduces the average node size. Add and use IMFS_GENERIC_INITIALIZER().
2015-01-23psx07: Add missing parameter to printf() callJoel Sherrill1-1/+1
Close 2241. Conflicts: testsuites/psxtests/psx07/init.c
2015-01-23psxtests/psx07: Fix printf() statementSebastian Huber1-1/+1
Close #2240.
2014-12-16Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber15-15/+0
This define was superfluous, undocumented and used inconsistently.
2014-12-12Add POSIX key value pairs to resource snapshotSebastian Huber1-15/+29
2014-12-12posix: Delete key/value if value is set to NULLSebastian Huber1-0/+19
2014-12-05Update bug report URLSebastian Huber1-1/+1
2014-11-21Delete or rename MIN/MAX macros and definesSebastian Huber2-10/+10
Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
2014-11-20libcsupport: Implement getgroups()Sebastian Huber2-8/+60
2014-11-20libcsupport: Use POSIX key for getgrent()Sebastian Huber2-0/+4
2014-11-20libcsupport: Minimal /etc/passwd and /etc/groupSebastian Huber2-106/+30
Create a minimal /etc/passwd and /etc/group with user root and group root only with no passwords.
2014-10-14testsuites: Avoid clock driverSebastian Huber2-2/+2
2014-10-13score: Rework global constructionSebastian Huber10-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.
2014-10-08posix: Add auto initializaton for rwlockSebastian Huber1-0/+37
2014-09-10psxtests/psxonce01: Use test extensionSebastian Huber1-0/+2
2014-09-10tests: Rework interrupt critical testsSebastian Huber1-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().
2014-07-23Add _TOD_Adjust to SCORE TOD Handler.Joel Sherrill2-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.
2014-05-05testsuite: Add a per BSP test check for tests not to build.Chris Johns1-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.
2014-04-07psxtests/psxkey02: Test for proper error caseSebastian Huber2-37/+14
2014-04-04Disable per task variables when SMP is enabledJoel Sherrill1-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.
2014-03-31score: Thread life cycle re-implementationSebastian Huber1-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.
2014-03-31score: Fix thread restart extensions contextSebastian Huber1-3/+84
Run the thread restart extensions in the context of the restarted thread. Run them with thread dispatching enabled.
2014-03-31tests/fatal: Fix test namesSebastian Huber1-1/+1
2014-03-31psxtests/psxconfig01: Fix for POSIX keys configSebastian Huber1-1/+1
2014-03-27privateenv: Use POSIX keys instead of task variables.Christian Mauderer2-0/+4
2014-03-25tests: Produce proper begin/end messagesSebastian Huber1-3/+3
2014-03-25tests/psxtests: Use <rtems/test.h>Sebastian Huber131-190/+543
2014-03-25tests: Use rtems_status_text()Sebastian Huber1-29/+1
2014-03-24posix: Prevent pthread_setspecific from returning EAGAIN.Christian Mauderer3-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.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns354-354/+354
2014-03-19psxonce01: Add call counter to check if init function has been called.Christian Mauderer1-13/+14
2014-03-19psxtests: move pthread_once tests into an extra test.Christian Mauderer11-44/+152
2014-03-19posix: Use interal mutex for once implementationSebastian Huber1-2/+1
Enable pthread_once() for all configurations. The pthread_once() function is one means to initialize POSIX keys. Another use case is the C++ support.
2014-03-12psxtests/psxkey07: Do not allocate task IDsSebastian Huber1-5/+4
2014-03-12psxtests/psxkey07: Limit workspace sizeSebastian Huber1-0/+8
This avoids large test execution times on targets with a big RAM.
2014-03-12psxtests/psxkey07: Account for RTEMS_TOO_MANYSebastian Huber1-2/+3
2014-03-12psxtests/psxkey08: Limit workspace sizeSebastian Huber1-3/+9
This avoids large test execution times on targets with a big RAM.
2014-03-12psxtests/psxkey08: Do not allocate task IDsSebastian Huber1-4/+3
We have a unified work area. So depending on the memory layout the task_id_p = malloc( sizeof( rtems_id ) ); rtems_test_assert( task_id_p ); or the sc = rtems_task_create( rtems_build_name('T','A',created_task_count, ' '), 1, RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_MODES, RTEMS_DEFAULT_ATTRIBUTES, task_id_p ); rtems_test_assert( (sc == RTEMS_UNSATISFIED) || (sc == RTEMS_TOO_MANY) || (sc == RTEMS_SUCCESSFUL) ); may fail. If we are unlucky then we hit the first case and the test fails.
2014-03-07POSIX keys now enabled in all configurations.Joel Sherrill23-355/+378
Formerly POSIX keys were only enabled when POSIX threads were enabled. Because they are a truly safe alternative to per-task variables in an SMP system, they are being enabled in all configurations.