summaryrefslogtreecommitdiff
path: root/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py')
-rw-r--r--Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py b/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
index 019873567..c68e441aa 100644
--- a/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
+++ b/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
@@ -437,6 +437,10 @@ class PortTest(unittest.TestCase):
self.assertFalse('passes/text.html' in tests)
self.assertTrue('virtual/passes/text.html' in tests)
+ def test_build_path(self):
+ port = self.make_port(options=optparse.Values({'build_directory': '/my-build-directory/'}))
+ self.assertEqual(port._build_path(), '/my-build-directory/Release')
+
if __name__ == '__main__':
unittest.main()