From patchwork Mon Mar 12 07:52:09 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zygmunt Krynicki X-Patchwork-Id: 7223 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 5A61423E12 for ; Mon, 12 Mar 2012 07:52:12 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 06B5AA183EA for ; Mon, 12 Mar 2012 07:52:11 +0000 (UTC) Received: by iage36 with SMTP id e36so8398960iag.11 for ; Mon, 12 Mar 2012 00:52:11 -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=c7SdZgRmT6Dlg8hsHUciFL2rcdy/MkkJfY6FMjS8Nt0=; b=Bgf1EpMFTS412VMDgn8D08fuVAcS6WsXBsqg+M3iqN4P5IDVO58AmkzXgGw1ftm2TZ AXBXZQRoM5gJt0MjbBtO+zjFm9gfN/Tpv0ccNNC3lNwrTkiKp4GeumP0bHKfzXOn5Igq sBgNqtG+unG61dCWkMuIAzX3FyRUpHOfiDNMeMQctQS1pdna2y0oTiLNdfa5CgvdA6bo 9LZMnhMT1Ce0yJFrIBjysI6V2L9Xa35+Hln36cRs3MCDc+d14cKCQP0k78649ca9ePi6 ztfIG4KORSaCiz40TiYWrLJW5VieuB0/c+9atl+kQgsdcZSgIMrvmoRZr0+I28iT27t3 b16A== Received: by 10.50.183.137 with SMTP id em9mr17116725igc.58.1331538731498; Mon, 12 Mar 2012 00:52:11 -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.231.53.18 with SMTP id k18csp34732ibg; Mon, 12 Mar 2012 00:52:10 -0700 (PDT) Received: by 10.180.92.229 with SMTP id cp5mr24813192wib.8.1331538730161; Mon, 12 Mar 2012 00:52:10 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id v6si16867172weq.146.2012.03.12.00.52.09 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Mar 2012 00:52:10 -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 1S7037-0007sN-KR for ; Mon, 12 Mar 2012 07:52:09 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 88C20E0555 for ; Mon, 12 Mar 2012 07:52:09 +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: 132 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-test/trunk] Rev 132: Add spandex-gles2 test definition. Message-Id: <20120312075209.11283.500.launchpad@ackee.canonical.com> Date: Mon, 12 Mar 2012 07:52:09 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14933"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: f300d21d938ad256b8c8a824e53332ecd76e43fe X-Gm-Message-State: ALoCoQkbD9qsj4GMFd1UQ1Y+xH60KYUjo1ORA8ZCfrfL6hWOi9p5KB4qZePbwsNQsx9JHb41lllI Merge authors: Alexandros Frantzis (afrantzis) Related merge proposals: https://code.launchpad.net/~afrantzis/lava-test/spandex-gles2/+merge/42243 proposed by: Alexandros Frantzis (afrantzis) review: Approve - Zygmunt Krynicki (zkrynicki) ------------------------------------------------------------ revno: 132 [merge] committer: Zygmunt Krynicki branch nick: trunk timestamp: Mon 2012-03-12 08:50:10 +0100 message: Add spandex-gles2 test definition. added: lava_test/test_definitions/spandex-gles2.py modified: doc/changes.rst --- 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 'doc/changes.rst' --- doc/changes.rst 2012-03-12 07:48:46 +0000 +++ doc/changes.rst 2012-03-12 07:50:10 +0000 @@ -17,6 +17,7 @@ * Add command line switch ``--verbose`` that turns on lots of messages * Add new GLMark2 ES2 test (glmark2-es2) * Add new render-bench test + * Add spandex-gles2 test .. _version_0_4: === added file 'lava_test/test_definitions/spandex-gles2.py' --- lava_test/test_definitions/spandex-gles2.py 1970-01-01 00:00:00 +0000 +++ lava_test/test_definitions/spandex-gles2.py 2010-11-30 14:20:51 +0000 @@ -0,0 +1,41 @@ +# Copyright (c) 2010 Linaro Limited +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import abrek.testdef + +spandex_benchmark = "/usr/share/spandex/bd/benchmarks/opengles2/benchmark_smoke.txt" + +INSTALL_STEPS = [ + 'sudo add-apt-repository ppa:linaro-maintainers/user-platforms', + 'sudo apt-get update', + 'sudo apt-get install -y --force-yes spandex-gles2 spandex-benchmarks-gles2' + ] + +RUNSTEPS = [ + "spandex-gles2 %s > /dev/null" % spandex_benchmark, + "python /usr/share/spandex/bd/python/wikireport.py result.txt" + ] + +PATTERN = "^\|\s+(?P[^|]+?)\s+\|\s+(?P\d+(\.\d+)?)" + +inst = abrek.testdef.AbrekTestInstaller(INSTALL_STEPS, + deps=["python-software-properties"]) +run = abrek.testdef.AbrekTestRunner(RUNSTEPS) +parse = abrek.testdef.AbrekTestParser(PATTERN, + appendall={'units':'reps/s', + 'result':'pass'}) + +testobj = abrek.testdef.AbrekTest(testname="spandex-gles2", installer=inst, + runner=run, parser=parse)