sbsv2/raptor/test/run.bat
author Ross Qin <ross.qin@nokia.com>
Tue, 30 Nov 2010 14:05:41 +0800
changeset 713 7b7f0409fc00
parent 591 22486c9c7b15
permissions -rw-r--r--
merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
591
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     1
@rem
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     2
@rem Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     3
@rem All rights reserved.
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     4
@rem This component and the accompanying materials are made available
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     5
@rem under the terms of the License "Eclipse Public License v1.0"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     6
@rem which accompanies this distribution, and is available
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     7
@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     8
@rem
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     9
@rem Initial Contributors:
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    10
@rem Nokia Corporation - initial contribution.
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    11
@rem
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    12
@rem Contributors:
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    13
@rem
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    14
@rem Description: 
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    15
@rem
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    16
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    17
@SETLOCAL
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    18
@CALL %SBS_HOME%\bin\sbs_env.bat
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    19
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    20
@SET __TEST_SUITE__=%~dp0common\run_tests.pyc
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    21
@SET __TEST_SUITE_PY__=%~dp0common\run_tests.py
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    22
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    23
@REM If the Python source exists, use it. Else use the byte-compiled Python code
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    24
@IF EXIST %__TEST_SUITE_PY__% SET __TEST_SUITE__=%__TEST_SUITE_PY__%
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    25
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    26
@REM Then run the test suite with all the arguments
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    27
@%__PYTHON__% -tt %__TEST_SUITE__% %*
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    28
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    29
@ENDLOCAL