Further review comments: update run.bat to run the test suite relative to its directory. wip
authorDaniel Jacobs <daniel.jacobs@nokia.com>
Thu, 25 Feb 2010 11:07:00 +0000
branchwip
changeset 340 98f67f17a03c
parent 339 66bd520416ef
child 341 4fd571a5fb6a
Further review comments: update run.bat to run the test suite relative to its directory.
sbsv2/raptor/test/run.bat
--- a/sbsv2/raptor/test/run.bat	Mon Feb 22 11:49:11 2010 +0000
+++ b/sbsv2/raptor/test/run.bat	Thu Feb 25 11:07:00 2010 +0000
@@ -17,8 +17,8 @@
 @SETLOCAL
 @CALL %SBS_HOME%\bin\sbs_env.bat
 
-@SET __TEST_SUITE__=%SBS_HOME%\test\common\run_tests.pyc
-@SET __TEST_SUITE_PY__=%SBS_HOME%\test\common\run_tests.py
+@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__%