sbsv2/raptor/test/run.bat
author timothy.murphy@nokia.com
Tue, 11 May 2010 13:33:47 +0100
branchfix
changeset 546 e6381a1f4952
parent 340 98f67f17a03c
permissions -rwxr-xr-x
fix tests for resources. Add python dependency manipulation because it's understandable to humans.

@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