stdcpp/internal/readme.txt
author hgs
Tue, 02 Nov 2010 19:23:22 +0530
changeset 79 564bc7b7ad27
permissions -rw-r--r--
201043
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
79
hgs
parents:
diff changeset
     1
/*
hgs
parents:
diff changeset
     2
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
hgs
parents:
diff changeset
     3
hgs
parents:
diff changeset
     4
Redistribution and use in source and binary forms, with or without 
hgs
parents:
diff changeset
     5
modification, are permitted provided that the following conditions are met:
hgs
parents:
diff changeset
     6
hgs
parents:
diff changeset
     7
* Redistributions of source code must retain the above copyright notice, this 
hgs
parents:
diff changeset
     8
  list of conditions and the following disclaimer.
hgs
parents:
diff changeset
     9
* Redistributions in binary form must reproduce the above copyright notice, 
hgs
parents:
diff changeset
    10
  this list of conditions and the following disclaimer in the documentation 
hgs
parents:
diff changeset
    11
  and/or other materials provided with the distribution.
hgs
parents:
diff changeset
    12
* Neither the name of Nokia Corporation nor the names of its contributors 
hgs
parents:
diff changeset
    13
  may be used to endorse or promote products derived from this software 
hgs
parents:
diff changeset
    14
  without specific prior written permission.
hgs
parents:
diff changeset
    15
hgs
parents:
diff changeset
    16
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
hgs
parents:
diff changeset
    17
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
hgs
parents:
diff changeset
    18
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
hgs
parents:
diff changeset
    19
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 
hgs
parents:
diff changeset
    20
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
hgs
parents:
diff changeset
    21
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
hgs
parents:
diff changeset
    22
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
hgs
parents:
diff changeset
    23
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 
hgs
parents:
diff changeset
    24
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
hgs
parents:
diff changeset
    25
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
hgs
parents:
diff changeset
    26
*/
hgs
parents:
diff changeset
    27
This readme describes the way to run stdcpp test cases.
hgs
parents:
diff changeset
    28
hgs
parents:
diff changeset
    29
When running the stdcpp test cases please take care of the following:
hgs
parents:
diff changeset
    30
hgs
parents:
diff changeset
    31
Steps to be followed to test stdcpp module.
hgs
parents:
diff changeset
    32
hgs
parents:
diff changeset
    33
1. The following are manual test cases:
hgs
parents:
diff changeset
    34
        a. testapps\stlport\manual\stlport_istmit- STIF based test.Prints instructions on screen. Please follow them. If nothing is printed it is considered as failed.
hgs
parents:
diff changeset
    35
        b. testapps\tstdcpp\io_manual - Each test cases in independent exe. Execute separately one by one .To execute the particular exe open "Eshell" and type the exe name and enter. Prints instructions on screen. Please follow them. If nothing is printed it is considered as failed.
hgs
parents:
diff changeset
    36
       c. testapps\tstdcpp\multithread\manual - One test case i.e. independent exe Execute it  independently in "Eshell"  by typing the exe name (multi_thread_manual.exe).Prints instructions on screen. Please follow them.Check for multi_thread_manual.xml file generated in \epoc32\winscw\c\LOGS\ for "PASS" or "FAIL".
hgs
parents:
diff changeset
    37
hgs
parents:
diff changeset
    38
2. To generate the ATS test drops for complete stdcpp\internal\testapps first build stdcpp from stdcpp\group folder then build all the testapps from stdcpp\internal\testapps\group folder . After that use the batch file "genatsmodules.bat" placed in stlport\internal\. Follow the below mentioned steps.
hgs
parents:
diff changeset
    39
                1) Place attached files in stdcpp/internal folder
hgs
parents:
diff changeset
    40
                2) run following command 
hgs
parents:
diff changeset
    41
                        genatsmodules.bat stdcpp
hgs
parents:
diff changeset
    42
                        genatsmodules.bat session stdcpp scarfe
hgs
parents:
diff changeset
    43
                        genatsmodules.bat session stdcpp winsspd
hgs
parents:
diff changeset
    44
                        genatsmodules.bat session stdcpp zeus
hgs
parents:
diff changeset
    45
hgs
parents:
diff changeset
    46
This will generate the "ATSINPUT" folder.       
hgs
parents:
diff changeset
    47
hgs
parents:
diff changeset
    48
hgs
parents:
diff changeset
    49
3. To run the test drop in ATS copy the path till "ATSINPUT" and mention the xml filename of worker on which you want to test the testdrop.
hgs
parents:
diff changeset
    50
                For example:To test on Winsspd " ..\ATSINPUT\stdcpp_winsspd_testsession.xml"