Changeset 3294 for pjproject


Ignore:
Timestamp:
Aug 25, 2010 3:53:52 AM (14 years ago)
Author:
bennylp
Message:

re ticket:1111 (more on automated test): added symbian target in prepare.xml@

Location:
pjproject/trunk/tests/automated
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/tests/automated/configure.py

    r3281 r3294  
    109109                if sdk1 != sdk2: 
    110110                    sys.stderr.write("Error: default SDK in device doesn't match EPOCROOT\n") 
    111                     sys.stderr.write("Default device SDK = " + sdk2 + "\n") 
    112                     sys.stderr.write("EPOCROOT SDK = " + sdk1 + "\n") 
     111                    sys.stderr.write("Default device SDK = '" + sdk2 + "'\n") 
     112                    sys.stderr.write("EPOCROOT SDK = '" + sdk1 + "'\n") 
    113113                    sys.exit(1) 
    114114 
     
    210210                        wdir = os.path.normpath(wdir) 
    211211                        text = text.replace("$(PJDIR)", wdir) 
     212                elif text.find("$(NOP)") >= 0: 
     213                        if platform.system().lower() == "windows" or platform.system().lower() == "microsoft": 
     214                                cmd = "CMD /C echo Success" 
     215                        else: 
     216                                cmd = "echo Success" 
     217                        text = text.replace("$(NOP)", cmd) 
    212218                else: 
    213219                        break 
  • pjproject/trunk/tests/automated/prepare.xml.template

    r3293 r3294  
    33  
    44        <Submit group="Experimental" build="Test-Preparation"> 
    5                 <Configure cmd="echo Success" /> 
    6                 <Build cmd="echo Success" /> 
     5                <Configure cmd="$(NOP)" /> 
     6                <Build cmd="$(NOP)" /> 
    77 
    88                <!-- GNU Makefile based scenario  
    99                     Requirement: 
    1010                      - none 
    11  
     11                  --> 
    1212                <Test name="Configuring GNU scenario" cmd="python configure.py -t gnu -o gnu.xml gnu.xml.template" /> 
    13                   --> 
    1413 
    1514                <!-- GNU Makefile with Intel IPP scenario. 
     
    3130                <!-- Symbian target. 
    3231                     Requirement: 
    33                        - EPOCROOT 
    34  
    35                 <Test name="Configuring Symbian scenario" cmd="python configure.py -t s60 -o symbian.xml symbian.xml.template" /> 
    36                   --> 
     32                       - EPOCROOT (modify below) 
     33                --> 
     34                <Test name="Configuring Symbian scenario" cmd='CMD /C SET EPOCROOT=\S60\devices\S60_5th_Edition_SDK_v1.0&amp;&amp; devices -setdefault @S60_5th_Edition_SDK_v1.0:com.nokia.s60&amp;&amp; python configure.py -t s60 -s60target &quot;gcce urel&quot; -o symbian.xml symbian.xml.template' /> 
    3735 
    3836        </Submit> 
Note: See TracChangeset for help on using the changeset viewer.