sbsv2/raptor/test/run.bat
author timothy.murphy@nokia.com
Wed, 07 Apr 2010 19:34:49 +0100
branchfix
changeset 468 27d111560672
parent 340 98f67f17a03c
permissions -rwxr-xr-x
Merge in resource speedups
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     1
@rem
336
a2b6ca74ba48 Changes for Cygwin 1.7 support.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents: 137
diff changeset
     2
@rem Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     3
@rem All rights reserved.
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     4
@rem This component and the accompanying materials are made available
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     5
@rem under the terms of the License "Eclipse Public License v1.0"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     6
@rem which accompanies this distribution, and is available
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     7
@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     8
@rem
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
     9
@rem Initial Contributors:
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    10
@rem Nokia Corporation - initial contribution.
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    11
@rem
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    12
@rem Contributors:
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    13
@rem
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    14
@rem Description: 
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    15
@rem
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    16
336
a2b6ca74ba48 Changes for Cygwin 1.7 support.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents: 137
diff changeset
    17
@SETLOCAL
a2b6ca74ba48 Changes for Cygwin 1.7 support.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents: 137
diff changeset
    18
@CALL %SBS_HOME%\bin\sbs_env.bat
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    19
340
98f67f17a03c Further review comments: update run.bat to run the test suite relative to its directory.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents: 339
diff changeset
    20
@SET __TEST_SUITE__=%~dp0common\run_tests.pyc
98f67f17a03c Further review comments: update run.bat to run the test suite relative to its directory.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents: 339
diff changeset
    21
@SET __TEST_SUITE_PY__=%~dp0common\run_tests.py
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    22
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    23
@REM If the Python source exists, use it. Else use the byte-compiled Python code
336
a2b6ca74ba48 Changes for Cygwin 1.7 support.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents: 137
diff changeset
    24
@IF EXIST %__TEST_SUITE_PY__% SET __TEST_SUITE__=%__TEST_SUITE_PY__%
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    25
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    26
@REM Then run the test suite with all the arguments
336
a2b6ca74ba48 Changes for Cygwin 1.7 support.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents: 137
diff changeset
    27
@%__PYTHON__% -tt %__TEST_SUITE__% %*
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    28
336
a2b6ca74ba48 Changes for Cygwin 1.7 support.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents: 137
diff changeset
    29
@ENDLOCAL