summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorojan@chromium.org <ojan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-23 12:46:05 +0000
committerojan@chromium.org <ojan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-23 12:46:05 +0000
commit74b928313755c35a37d5162f90c82746bc02ccaf (patch)
tree28ca3bb61ffd7bb4b70c4e329ba7c79e929f7b71 /webkit
parentff007e163def541a75a1faac513c9c81b623efcf (diff)
downloadchromium_src-74b928313755c35a37d5162f90c82746bc02ccaf.zip
chromium_src-74b928313755c35a37d5162f90c82746bc02ccaf.tar.gz
chromium_src-74b928313755c35a37d5162f90c82746bc02ccaf.tar.bz2
Make run_webkit_test.bat workable even if we execute it
on a directory other than webkit\tools\layout_tests\. %~dp0 means Drive name + Path name of the 0th argument (the bat file). Original patch by tkent@google.com. See http://codereview.chromium.org/113389 r=ojan TEST=None BUG=None git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16838 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/tools/layout_tests/run_webkit_tests.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/tools/layout_tests/run_webkit_tests.bat b/webkit/tools/layout_tests/run_webkit_tests.bat
index 4b79599..91fee71 100644
--- a/webkit/tools/layout_tests/run_webkit_tests.bat
+++ b/webkit/tools/layout_tests/run_webkit_tests.bat
@@ -1 +1 @@
-@..\..\..\third_party\python_24\python.exe run_webkit_tests.py %*
+@%~dp0\..\..\..\third_party\python_24\python.exe %~dp0\run_webkit_tests.py %*