author | Daniel Jacobs <daniel.jacobs@nokia.com> |
Mon, 22 Feb 2010 11:49:11 +0000 | |
branch | wip |
changeset 339 | 66bd520416ef |
parent 336 | a2b6ca74ba48 |
child 340 | 98f67f17a03c |
permissions | -rwxr-xr-x |
3 | 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 | 3 |
@rem All rights reserved. |
4 |
@rem This component and the accompanying materials are made available |
|
5 |
@rem under the terms of the License "Eclipse Public License v1.0" |
|
6 |
@rem which accompanies this distribution, and is available |
|
7 |
@rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 |
@rem |
|
9 |
@rem Initial Contributors: |
|
10 |
@rem Nokia Corporation - initial contribution. |
|
11 |
@rem |
|
12 |
@rem Contributors: |
|
13 |
@rem |
|
14 |
@rem Description: |
|
15 |
@rem |
|
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 | 19 |
|
336
a2b6ca74ba48
Changes for Cygwin 1.7 support.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents:
137
diff
changeset
|
20 |
@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
|
21 |
@SET __TEST_SUITE_PY__=%SBS_HOME%\test\common\run_tests.py |
3 | 22 |
|
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 | 25 |
|
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 | 28 |
|
336
a2b6ca74ba48
Changes for Cygwin 1.7 support.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents:
137
diff
changeset
|
29 |
@ENDLOCAL |