summaryrefslogblamecommitdiffstats
path: root/testsuites/sptests/spwkspace/spwkspace.doc
blob: 9944973628670a285bb07a3acd7db41cdf334d4d (plain) (tree)
1
2
3
4
5

                                       


                                                   



















                                                                             










                                                                        

                             













                                                                            
# SPDX-License-Identifier: BSD-2-Clause

#  COPYRIGHT (c) 1989-2009.
#  On-Line Applications Research Corporation (OAR).
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#

This file describes the directives and concepts tested by this test set.

test set name:  spwkspace

directives:

  rtems_workspace_get_information
  rtems_workspace_allocate
  rtems_workspace_free
  _Workspace_String_duplicate
  _Workspace_Allocate_aligned

concepts:

+ Ensure that the application can obtain information on the RTEMS workspace.

+ Ensure that the application can allocate memory from the workspace.

+ Ensure that error conditions in the workspace allocate memory directive
  are properly handled.

+ Ensure that error conditions in the workspace free memory directive
  are properly handled.

+ Ensure that the application can free memory back to the workspace.