From patchwork Tue Oct 30 07:46:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Rigby X-Patchwork-Id: 12573 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 099E823FBB for ; Tue, 30 Oct 2012 07:46:15 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 74EC4A18E9E for ; Tue, 30 Oct 2012 07:46:14 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so7505805iej.11 for ; Tue, 30 Oct 2012 00:46:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :content-type:mime-version:x-launchpad-project:x-launchpad-branch :x-launchpad-message-rationale:x-launchpad-branch-revision-number :x-launchpad-notification-type:to:from:subject:message-id:date :reply-to:sender:errors-to:precedence:x-generated-by :x-launchpad-hash:x-gm-message-state; bh=GHj1Z/buhB170Nll29nN+PEidyMc7zPIiV5JAon1gRI=; b=W2mRPWmjPjECVO0hJBTVC1/LCipFKmuxQA9uK+Dm9dPkm0bH/q/gIDr6mzrTg6OTwr 6tTa89IHGyM0miNRypB5aYz3y/4mUj0nkqXc5hKAC0Dz6fU6hAC7rGY8sDHjpI+Q0Ff0 Oyb64EZDnrgGVICmzvzdosdLiNg98UYq3epI8xPbhfc3Zq8Cqv2Qo3Ng2Cy//nUB8Mjq 4B+YPNtaGDGtDyxVKMn10zoIVCGqWnjtxjR0tVhmtik3ThFN2URtbe5aGl1isHkVN/20 fumwl1TI6pYqsMKRxpBv+esNHOpBttP+RAJqFghwa+vScSIa/Xd4kGevMtTjg75uX6ZG DMvA== Received: by 10.50.161.169 with SMTP id xt9mr629402igb.62.1351583173874; Tue, 30 Oct 2012 00:46:13 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp355446igt; Tue, 30 Oct 2012 00:46:13 -0700 (PDT) Received: by 10.180.104.97 with SMTP id gd1mr1151196wib.4.1351583172430; Tue, 30 Oct 2012 00:46:12 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id cc16si7426606wib.39.2012.10.30.00.46.11 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 30 Oct 2012 00:46:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1TT6WY-0008Gn-Vq for ; Tue, 30 Oct 2012 07:46:10 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id E4958E0343 for ; Tue, 30 Oct 2012 07:46:10 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-test X-Launchpad-Branch: ~linaro-validation/lava-test/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 186 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-test/trunk] Rev 186: Add proper result parsing for browser-benchmarks Message-Id: <20121030074610.31905.13833.launchpad@ackee.canonical.com> Date: Tue, 30 Oct 2012 07:46:10 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="16206"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 55540bc38471725d699e21365f5dcd3113d62012 X-Gm-Message-State: ALoCoQmQkoJ8YNDG5sb2X76RpZKkabSaQGtpk4vZAVFLmHpSCcXrbBGLeKxe49DYJiFtW9G3Mrjw ------------------------------------------------------------ revno: 186 committer: John Rigby branch nick: trunk timestamp: Fri 2012-10-26 14:04:00 -0600 message: Add proper result parsing for browser-benchmarks Signed-off-by: John Rigby modified: lava_test/test_definitions/browser_benchmarks.py --- lp:lava-test https://code.launchpad.net/~linaro-validation/lava-test/trunk You are subscribed to branch lp:lava-test. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-test/trunk/+edit-subscription === modified file 'lava_test/test_definitions/browser_benchmarks.py' --- lava_test/test_definitions/browser_benchmarks.py 2012-10-24 20:22:57 +0000 +++ lava_test/test_definitions/browser_benchmarks.py 2012-10-26 20:04:00 +0000 @@ -19,7 +19,7 @@ Use Selenium WebDriver to automatically run browser benchmarks and scrape the results. -**URL:** https://code.launchpad.net/~linaro-foundations/linaro-ubuntu/browser-benchmarks +**URL:** https://code.launchpad.net/~linaro-foundations/linaro-ubuntu/lava-test-browser-benchmarks **Default Options:** None """ @@ -34,15 +34,11 @@ DEPS = ["bzr", "python-pip", "chromium-browser", "firefox"] INSTALLSTEPS = ['pip install selenium'] RUNSTEPS = ["cd lava-test-browser-benchmarks; bash -x ./run-test.sh; pwd"] -PATTERN = "(?P[a-zA-Z0-9_-]+):\s(?P\w+)" -FIXUPS = { - "PASS": "pass", - "FAIL": "fail" -} +PATTERN = "^(?P\w+):\W+(?P\d+)" installer = TestInstaller(INSTALLSTEPS, deps=DEPS, bzr_repos=BZR_REPOS) runner = TestRunner(RUNSTEPS, default_options=DEFAULT_OPTIONS) -parser = TestParser(PATTERN, fixupdict=FIXUPS) +parser = TestParser(PATTERN, appendall={'units': 'score', 'result': 'pass'}) testobj = Test( test_id="browser-benchmarks",