#!/usr/bin/env python
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

"""Run inspector (DevTools) layout tests"""
from os import path
import sys

from webkitpy.common import multiprocessing_bootstrap

up = path.dirname
layout_tests = path.join(up(up(up(path.abspath(__file__)))), 'Source', 'devtools', 'layout_tests')
sys.argv.append('--layout-tests-directory={}'.format(layout_tests))
multiprocessing_bootstrap.run('webkitpy', 'layout_tests', 'run_webkit_tests.py')
