Commit Graph

2962 Commits

Author SHA1 Message Date
Toma Radu
7183e01dfc Test suite documentations corrections and fixes.
Correct the sp02.doc, sp05.doc, sp06.doc, sp07.doc, sp08.doc files.
2013-12-28 17:37:31 -06:00
Rishi Sharma
b23ef87403 psx03: Add doc file 2013-12-26 10:10:52 -06:00
Mandar Juvekar
d2d4a8f99d utf8proc1/spedgsched01: minor fixes in test document files 2013-12-25 16:10:26 -06:00
Mandar Juvekar
c51645f339 psxtests/psx14: Add doc file 2013-12-24 10:15:43 -05:00
Chirayu Desai
7b5f6643b2 sptests: refactor sp09/screen13 into a new test spclock_err02 2013-12-24 09:53:59 -05:00
Chris Johns
2d1bdc8f79 cpukit/rtems: Add rtems_clock_get_uptime_nanoseconds to the RTEMS API.
Add Timestamp support in the score to return a timestamp in nanoseconds.
Add a test.
Update the RTEMS API documentation.
2013-12-24 16:46:19 +11:00
Mandar Juvekar
1464599482 psxtests/psxfatal01: add doc file 2013-12-20 11:37:59 -05:00
Sebastian Huber
c1d8ee4cdc libcsupport: Accept NULL for zero-length entries 2013-12-20 10:31:53 +01:00
Sebastian Huber
2f68778f08 Filesystem: Add readv/writev handlers
The readv() and writev() support was implemented in terms of multiple
calls to the read and write handlers.  This imposes a problem on device
files which use an IO vector as single request entity.  For example a
low-level network device (e.g. BPF(4)) may use an IO vector to create
one frame from multiple protocol layers each with its own IO vector
entry.
2013-12-20 10:31:53 +01:00
Sebastian Huber
95a57280eb libcsupport: Add and use rtems_libio_iovec_eval() 2013-12-20 10:31:53 +01:00
Jennifer Averett
fe011a59a4 sptests/spcpuset*: Add tests for fixed size cpu_set_t operations.
This adds five tests for <sys/cpuset.h>. It does not include
tests for CPU_XXX_S methods. The autotools should be able to
avoid enabling the tests unless the toolset has <sys/cpuset.h>.
2013-12-19 14:11:09 -06:00
Anukul Sangwan
540a63536c psxtests: add psxcleanup/psxcleanup.doc 2013-12-18 15:01:20 -05:00
Joel Sherrill
7318449947 psxtests/configure.ac: Probe for SMP affinity methods 2013-12-13 08:35:52 -06:00
Daniel Ramirez
07f4edc14b sptests: refactored sp09/screen14.c into two new tests 2013-12-11 20:11:08 -05:00
Sebastian Huber
ce8363d363 sptests/spfifo01: Add test case for mknod() 2013-12-11 10:23:44 +01:00
Sebastian Huber
98e5c954bd PR2160: imfs: Use ENOSYS for unsupported nodes
Return an error status with errno set to ENOSYS during node creation for
nodes not available in the current configuration.
2013-12-11 09:39:09 +01:00
Joel Sherrill
0b59942156 psxsignal06: Fix bug where mutex not locked and add EPERM error check
This test formerly had a bug in that it attempted to wait on a
    condition variable with a Mutex that was not locked. This is
    undefined by POSIX. But a recent change to match GNU/Linux behavior
    resulted in finding a bug in the test.
2013-12-10 19:48:28 -06:00
Joel Sherrill
74c15fe696 psxtmcond01: Fix bug where mutex not locked and add EPERM error check
This test formerly had a bug in that it attempted to wait on a
condition variable with a Mutex that was not locked. This is
undefined by POSIX. But a recent change to match GNU/Linux behavior
resulted in finding a bug in the test.
2013-12-10 17:56:22 -06:00
Daniel Ramirez
218b0e6905 psxtmtests: added psxtmcond07 test 2013-12-09 23:26:48 -06:00
Daniel Ramirez
371f32f48e tmtests: refactored timesys.h, removed declarations 2013-12-09 19:55:35 -06:00
Joel Sherrill
6d730e919f tmtests_plan.csv: New planning file 2013-12-07 19:49:40 -06:00
Joel Sherrill
a98d5fc291 tmoverhd/testtask.c: Fix output to be consistent 2013-12-07 19:45:11 -06:00
Joel Sherrill
dab34ec9e6 tmoverhd/empty.c: formatting 2013-12-07 19:44:20 -06:00
Joel Sherrill
bcc45a8142 tm19: Clean up output 2013-12-07 19:39:48 -06:00
Joel Sherrill
667b2db1d3 psxtmtests_plan.csv: Update messages 2013-12-07 19:10:35 -06:00
Joel Sherrill
2e50dcec70 timesys.h: Benchmark output now includes a dash for easier parsing 2013-12-07 19:10:35 -06:00
Joel Sherrill
50162e061b psxtmtests: Make output more uniform 2013-12-07 19:10:35 -06:00
Joel Sherrill
9410d01196 tmtests: Make output more uniform 2013-12-07 19:10:35 -06:00
Gedare Bloom
03130cd068 sppagesize: fix copyright 2013-12-06 11:25:02 -05:00
Chirayu Desai
54da1243eb sptests: add a test for page size
Bug: https://www.rtems.org/bugzilla/show_bug.cgi?id=1216
2013-12-06 10:45:28 -05:00
Chirayu Desai
262e250756 sptest: sp2038: Add a test for leap year
Bug test case for PR 1422
2013-12-05 11:46:04 -05:00
Nick Withers
b5d2d4a61c Update to Mongoose 3.9 at the last point before the MIT -> GPL license change
[That is, 04fc209644. See https://groups.google.com/forum/#!topic/mongoose-users/aafbOnHonkI]

The RTEMS patches described in the following emails and made to the previous Mongoose base have been applied:
  - http://www.rtems.org/pipermail/rtems-devel/2012-July/001345.html
  - http://www.rtems.org/pipermail/rtems-devel/2012-July/001343.html
  - http://www.rtems.org/pipermail/rtems-devel/2012-July/001346.html (except to mongoose.1, see below)
...as well as a patch very similar to that discussed at http://forums.bannister.org/ubbthreads.php?ubb=showflat&topic=7600&gonew=1 to provide poll() (which might be able to go away soon, with incoming RTEMS poll() support)

mg_connect(), mg_url_encode() and mg_vprintf() were additionally marked "static" to silence warnings.

mongoose.1 appears to have been removed from the upstream distribution.

Note that the API's changed, for example:
  - A struct mg_callbacks must now be provided to mg_start(). Initialise members to NULL to disable various types of callbacks
  - Callback interfaces have changed significantly in general
  - The short form of options (e.g., "u" instead of "run_as_user") are no longer available (upstream)
  - The "max_request_size" options has been removed
2013-12-04 10:09:16 +01:00
Daniel Ramirez
064820c874 psxtmtests: added new psxtmthread04 test 2013-12-02 22:43:09 -05:00
Sebastian Huber
927a0a1f99 posix: Use cleanup contexts on the stack
Provide support for latest Newlib <pthread.h> change.  The cleanup
contexts are stored on the thread stack.  This is conformant with the
POSIX requirements for the pthread_cleanup_push() and
pthread_cleanup_pop() statement pair.

Passing an invalid pointer as the routine to pthread_cleanup_push() is
now a usage error and the behaviour is undefined.
2013-12-02 09:24:51 +01:00
Daniel Ramirez
8abf00624c pstmtests_plan.csv: Update to reflect psxtmcond 09 and 10 exit 2013-12-01 20:44:19 -06:00
Daniel Ramirez
972579d32b psxtmtests: added psxtmcond06 test 2013-12-01 06:50:25 -06:00
Daniel Ramirez
72ff7569b0 psxtmtests: added new psxtmcond04 test, fixed psxtmcond03 2013-11-30 21:31:30 -05:00
Annelies Odermann
95d7ac7735 psx07.doc: New file 2013-11-30 18:41:11 -06:00
Joel Sherrill
086494d50e psxtmbarrier04/init.c: Fix warnings 2013-11-30 16:06:23 -06:00
Joel Sherrill
adc2301723 psxtmthread02/init.c: Fix warnings 2013-11-30 16:06:07 -06:00
Daniel Ramirez
115e059131 fixed psxtmthread02 test, updated .csv to be in sync and added test .docs 2013-11-30 15:50:25 -06:00
Joel Sherrill
135e957616 psxtmtests_plan.csv: Replace comma with colon
This makes it easier for scripts to parse correctly.
2013-11-30 09:53:47 -06:00
Daniel Ramirez
7de5ef5f83 psxtmtests: Added in new psxtmbarrier04 test, release, preempt 2013-11-30 08:58:55 -06:00
Chirayu Desai
734f91825b psxtests: add documentation for psx05 2013-11-29 09:18:03 -06:00
Joel Sherrill
072fe30203 psxtmtests_plan.csv: Avoid comma in descriptions 2013-11-28 08:39:15 -06:00
Gedare Bloom
c625a80028 psxtmthread05: delete spurious .cvsignore file 2013-11-27 20:55:10 -05:00
Daniel Ramirez
e9a1c991fe psxtmtests: copy psxtmthread05 to psxtmthread06, fix psxtmthread05
The psxtmthread05 test was testing the functionality meant for
psxtmthread06. This patch copies the psxtmthread05 to psxtmthread06
and modifies psxtmthread05 to test the intended functionality.
2013-11-27 20:50:10 -05:00
Joel Sherrill
47efc01882 psxtmtests_plan.csv: Add explicit No status 2013-11-27 11:04:29 -06:00
Chirayu Desai
fa3f87884f Indicate that test psxtmthread05 has been implemented
* update psxtmtests_plan.csv to reflect that the test has been
  implemented.
* Test implemented in db08c3897f
2013-11-27 11:26:05 -05:00
Steven Kou
df97c7f878 psxtests: Add test document file to psx06. 2013-11-27 10:03:39 -05:00