equal
deleted
inserted
replaced
1 @rem |
1 @rem |
2 @rem Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 @rem Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 @rem All rights reserved. |
3 @rem All rights reserved. |
4 @rem This component and the accompanying materials are made available |
4 @rem This component and the accompanying materials are made available |
5 @rem under the terms of the License "Eclipse Public License v1.0" |
5 @rem under the terms of the License "Eclipse Public License v1.0" |
6 @rem which accompanies this distribution, and is available |
6 @rem which accompanies this distribution, and is available |
7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
14 @rem Description: |
14 @rem Description: |
15 @rem |
15 @rem |
16 |
16 |
17 @echo off |
17 @echo off |
18 |
18 |
19 set HOSTPLATFORM=win 32 |
19 @SETLOCAL |
20 set HOSTPLATFORM_DIR=win32 |
20 @CALL %SBS_HOME%\bin\sbs_env.bat |
21 |
21 |
22 setlocal |
22 @SET __TEST_SUITE__=%SBS_HOME%\test\common\run_tests.pyc |
23 set __PYTHON__=%SBS_PYTHON% |
23 @SET __TEST_SUITE_PY__=%SBS_HOME%\test\common\run_tests.py |
24 if "%__PYTHON__%"=="" set __PYTHON__=%SBS_HOME%\win32\python264\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 |
24 |
35 @REM If the Python source exists, use it. Else use the byte-compiled Python code |
25 @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__% |
26 @IF EXIST %__TEST_SUITE_PY__% SET __TEST_SUITE__=%__TEST_SUITE_PY__% |
37 |
27 |
38 @REM Then run the test suite with all the arguments |
28 @REM Then run the test suite with all the arguments |
39 %__PYTHON__% -tt %__TEST_SUITE__% %* |
29 @%__PYTHON__% -tt %__TEST_SUITE__% %* |
40 |
30 |
41 endlocal |
31 @ENDLOCAL |
42 @echo on |
|