sbsv2/raptor/test/run.bat
author Daniel Jacobs <daniel.jacobs@nokia.com>
Thu, 18 Feb 2010 15:44:01 +0000
branchwip
changeset 336 a2b6ca74ba48
parent 137 befd82d9c937
child 339 66bd520416ef
permissions -rwxr-xr-x
Changes for Cygwin 1.7 support.
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
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    17
@echo off
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    18
336
a2b6ca74ba48 Changes for Cygwin 1.7 support.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents: 137
diff changeset
    19
@SETLOCAL
a2b6ca74ba48 Changes for Cygwin 1.7 support.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents: 137
diff changeset
    20
@CALL %SBS_HOME%\bin\sbs_env.bat
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    21
336
a2b6ca74ba48 Changes for Cygwin 1.7 support.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents: 137
diff changeset
    22
@SET __TEST_SUITE__=%SBS_HOME%\test\common\run_tests.pyc
a2b6ca74ba48 Changes for Cygwin 1.7 support.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents: 137
diff changeset
    23
@SET __TEST_SUITE_PY__=%SBS_HOME%\test\common\run_tests.py
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    24
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    25
@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
    26
@IF EXIST %__TEST_SUITE_PY__% SET __TEST_SUITE__=%__TEST_SUITE_PY__%
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    27
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    28
@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
    29
@%__PYTHON__% -tt %__TEST_SUITE__% %*
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents:
diff changeset
    30
336
a2b6ca74ba48 Changes for Cygwin 1.7 support.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents: 137
diff changeset
    31
@ENDLOCAL