sbsv2/raptor/test/run.bat
changeset 591 22486c9c7b15
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sbsv2/raptor/test/run.bat	Wed Jun 23 17:27:59 2010 +0800
@@ -0,0 +1,29 @@
+@rem
+@rem Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
+@rem All rights reserved.
+@rem This component and the accompanying materials are made available
+@rem under the terms of the License "Eclipse Public License v1.0"
+@rem which accompanies this distribution, and is available
+@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
+@rem
+@rem Initial Contributors:
+@rem Nokia Corporation - initial contribution.
+@rem
+@rem Contributors:
+@rem
+@rem Description: 
+@rem
+
+@SETLOCAL
+@CALL %SBS_HOME%\bin\sbs_env.bat
+
+@SET __TEST_SUITE__=%~dp0common\run_tests.pyc
+@SET __TEST_SUITE_PY__=%~dp0common\run_tests.py
+
+@REM If the Python source exists, use it. Else use the byte-compiled Python code
+@IF EXIST %__TEST_SUITE_PY__% SET __TEST_SUITE__=%__TEST_SUITE_PY__%
+
+@REM Then run the test suite with all the arguments
+@%__PYTHON__% -tt %__TEST_SUITE__% %*
+
+@ENDLOCAL