equal
deleted
inserted
replaced
|
1 @rem |
|
2 @rem Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
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 |
|
17 @echo off |
|
18 |
|
19 set HOSTPLATFORM=win 32 |
|
20 set HOSTPLATFORM_DIR=win32 |
|
21 |
|
22 setlocal |
|
23 set __PYTHON__=%SBS_PYTHON% |
|
24 if "%__PYTHON__%"=="" set __PYTHON__=%SBS_HOME%\win32\python252\python.exe |
|
25 |
|
26 set __TEST_SUITE__=%SBS_HOME%\test\common\run_tests.pyc |
|
27 set __TEST_SUITE_PY__=%SBS_HOME%\test\common\run_tests.py |
|
28 |
|
29 @REM Mount '/' in cygwin, in case it is not done automatically |
|
30 set __CYGWIN__=%SBS_CYGWIN% |
|
31 if "%__CYGWIN__%"=="" set __CYGWIN__=%SBS_HOME%\win32\cygwin |
|
32 %__CYGWIN__%\bin\umount -u "/" >NUL 2>NUL |
|
33 %__CYGWIN__%\bin\mount -u "%__CYGWIN__%" "/" |
|
34 |
|
35 @REM If the Python source exists, use it. Else use the byte-compiled Python code |
|
36 if exist %__TEST_SUITE_PY__% SET __TEST_SUITE__=%__TEST_SUITE_PY__% |
|
37 |
|
38 @REM Then run the test suite with all the arguments |
|
39 %__PYTHON__% -tt %__TEST_SUITE__% %* |
|
40 |
|
41 endlocal |
|
42 @echo on |