sbsv2/raptor/test/run.bat
author Daniel Jacobs <daniel.jacobs@nokia.com>
Thu, 25 Feb 2010 11:07:00 +0000
branchwip
changeset 340 98f67f17a03c
parent 339 66bd520416ef
permissions -rwxr-xr-x
Further review comments: update run.bat to run the test suite relative to its directory.

@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