| Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
|
| index 584dcb43810019640d31cc2408898302a1dd0c3e..50147790121336a5c616abf62f26e1d3b062cc00 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py
|
| @@ -211,6 +211,11 @@ class PortTest(unittest.TestCase):
|
| [('/tmp/local-baselines', 'fast/test-expected.txt')])
|
| self.assertEqual(port.baseline_path(), '/foo')
|
|
|
| + # Flag-specific baseline directory
|
| + port._options.additional_platform_directory = []
|
| + port._options.additional_driver_flag = ['--special-flag']
|
| + self.assertEqual(port.baseline_path(), '/mock-checkout/third_party/WebKit/LayoutTests/flag-specific/special-flag')
|
| +
|
| def test_nonexistant_expectations(self):
|
| port = self.make_port(port_name='foo')
|
| port.expectations_files = lambda: ['/mock-checkout/third_party/WebKit/LayoutTests/platform/exists/TestExpectations',
|
|
|