From patchwork Wed Aug 17 13:47:14 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Larson X-Patchwork-Id: 3485 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 2E16B23F3E for ; Wed, 17 Aug 2011 13:53:19 +0000 (UTC) Received: from mail-ew0-f52.google.com (mail-ew0-f52.google.com [209.85.215.52]) by fiordland.canonical.com (Postfix) with ESMTP id E8074A18670 for ; Wed, 17 Aug 2011 13:53:17 +0000 (UTC) Received: by ewy28 with SMTP id 28so519292ewy.11 for ; Wed, 17 Aug 2011 06:53:17 -0700 (PDT) Received: by 10.213.32.131 with SMTP id c3mr1251325ebd.94.1313589197344; Wed, 17 Aug 2011 06:53:17 -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.213.102.5 with SMTP id e5cs19172ebo; Wed, 17 Aug 2011 06:53:17 -0700 (PDT) Received: from mr.google.com ([10.216.172.69]) by 10.216.172.69 with SMTP id s47mr6025418wel.95.1313589197010 (num_hops = 1); Wed, 17 Aug 2011 06:53:17 -0700 (PDT) Received: by 10.216.172.69 with SMTP id s47mr4048540wel.95.1313589196423; Wed, 17 Aug 2011 06:53:16 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com [91.189.90.7]) by mx.google.com with ESMTPS id 62si3012595wel.91.2011.08.17.06.53.16 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 17 Aug 2011 06:53:16 -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 1QtgYV-0008Pn-LY for ; Wed, 17 Aug 2011 13:53:15 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id D1C3EE1690 for ; Wed, 17 Aug 2011 13:47:14 +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: 86 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-test/trunk] Rev 86: Add xrestop test from Avik Sil Message-Id: <20110817134714.4163.66330.launchpad@ackee.canonical.com> Date: Wed, 17 Aug 2011 13:47:14 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13697"; Instance="initZopeless config overlay" X-Launchpad-Hash: 9d1ed08c7c4be0b7f34dc4146563176afbbd5699 Merge authors: Avik Sil (aviksil) Paul Larson Related merge proposals: https://code.launchpad.net/~aviksil/lava-test/new-test-definitions/+merge/71851 proposed by: Avik Sil (aviksil) review: Approve - Paul Larson (pwlars) review: Approve - Zygmunt Krynicki (zkrynicki) ------------------------------------------------------------ revno: 86 [merge] committer: Paul Larson branch nick: lava-test timestamp: Wed 2011-08-17 14:38:38 +0100 message: Add xrestop test from Avik Sil added: abrek/test_definitions/xrestop.py modified: abrek/providers.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 'abrek/providers.py' --- abrek/providers.py 2011-08-09 09:48:02 +0000 +++ abrek/providers.py 2011-08-17 13:34:33 +0000 @@ -32,6 +32,7 @@ 'stream', 'tiobench', 'x11perf', + 'xrestop', ] def __init__(self, config): === added file 'abrek/test_definitions/xrestop.py' --- abrek/test_definitions/xrestop.py 1970-01-01 00:00:00 +0000 +++ abrek/test_definitions/xrestop.py 2011-08-17 13:28:09 +0000 @@ -0,0 +1,27 @@ +# Copyright (c) 2010 Linaro +# +# 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 + +INSTALLSTEPS = ['bzr branch lp:~linaro-foundations/lava-test/xrestopscript'] +RUNSTEPS = ["./xrestopscript/xrestop.sh"] +PATTERN = "^(?P\w+):\W+(?P\d+)" + +xrestopinst = abrek.testdef.AbrekTestInstaller(INSTALLSTEPS, deps=["xrestop"]) +xrestoprun = abrek.testdef.AbrekTestRunner(RUNSTEPS) +xrestopparser = abrek.testdef.AbrekTestParser(PATTERN, + appendall={'units':'KB', 'result':'pass'}) +testobj = abrek.testdef.AbrekTest(testname="xrestop", installer=xrestopinst, + runner=xrestoprun, parser=xrestopparser)