author | Jon Chatten |
Mon, 12 Apr 2010 13:04:14 +0100 | |
changeset 431 | b0b75f4eea84 |
parent 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 |
|
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 | 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 |