Build fix attempt after r107053.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Feb 2012 23:57:48 +0000 (23:57 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Feb 2012 23:57:48 +0000 (23:57 +0000)
* Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
(test_collect_tests):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107144 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py

index 48b13bd..df9a60e 100644 (file)
@@ -1,3 +1,10 @@
+2012-02-08  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Build fix attempt after r107053.
+
+        * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
+        (test_collect_tests):
+
 2012-02-08  Adam Barth  <abarth@webkit.org>
 
         Remove simplejson because it's no longer used by webkitpy
index 08547b1..5c4aafd 100755 (executable)
@@ -316,7 +316,7 @@ max 1120
         add_file('test1.html')
         add_file('test2.html')
         add_file('test3.html')
-        runner._host.filesystem.chdir(runner._port.webkit_base())
+        runner._host.filesystem.chdir(runner._port.perf_tests_dir()[:runner._port.perf_tests_dir().rfind(runner._host.filesystem.sep)])
         tests = [runner._port.relative_perf_test_filename(test) for test in runner._collect_tests()]
         self.assertEqual(sorted(tests), ['test1.html', 'test2.html'])