diff options
| author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-07-30 11:37:48 +0200 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-07-30 11:38:52 +0200 |
| commit | 89e2486a48b739f8d771d69ede5a6a1b244a10fc (patch) | |
| tree | 503b1a7812cf97d93704c32437eb5f62dc1a1ff9 /Tools/Scripts/test-webkitpy | |
| parent | 625f028249cb37c55bbbd153f3902afd0b0756d9 (diff) | |
| download | qtwebkit-89e2486a48b739f8d771d69ede5a6a1b244a10fc.tar.gz | |
Imported WebKit commit 0282df8ca7c11d8c8a66ea18543695c69f545a27 (http://svn.webkit.org/repository/webkit/trunk@124002)
New snapshot with prospective Mountain Lion build fix
Diffstat (limited to 'Tools/Scripts/test-webkitpy')
| -rwxr-xr-x | Tools/Scripts/test-webkitpy | 36 |
1 files changed, 2 insertions, 34 deletions
diff --git a/Tools/Scripts/test-webkitpy b/Tools/Scripts/test-webkitpy index 857c19940..ee682cccf 100755 --- a/Tools/Scripts/test-webkitpy +++ b/Tools/Scripts/test-webkitpy @@ -27,38 +27,6 @@ # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +from webkitpy.common import multiprocessing_bootstrap -import logging -import os -import sys - -# NOTE: We intentionally limit imports from webkitpy here to minimize the -# chances of breaking test-webkitpy itself. -from webkitpy.common import version_check -from webkitpy.test import main - - -_log = logging.getLogger("test-webkitpy") - - -if __name__ == "__main__": - webkit_root = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) - - tester = main.Tester() - tester.add_tree(os.path.join(webkit_root, 'Tools', 'Scripts'), 'webkitpy') - tester.add_tree(os.path.join(webkit_root, 'Source', 'WebKit2', 'Scripts'), 'webkit2') - - # FIXME: Do we need to be able to test QueueStatusServer on Windows as well? - appengine_sdk_path = '/usr/local/google_appengine' - if os.path.exists(appengine_sdk_path): - if not appengine_sdk_path in sys.path: - sys.path.append(appengine_sdk_path) - import dev_appserver - from google.appengine.dist import use_library - use_library('django', '1.2') - dev_appserver.fix_sys_path() - tester.add_tree(os.path.join(webkit_root, 'Tools', 'QueueStatusServer')) - else: - _log.info('Skipping QueueStatusServer tests; the Google AppEngine Python SDK is not installed.') - - sys.exit(not tester.run()) +multiprocessing_bootstrap.run('webkitpy', 'test', 'main.py') |
