From patchwork Thu Mar 22 13:55:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Le Chi Thu X-Patchwork-Id: 7410 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 2351B23E29 for ; Thu, 22 Mar 2012 13:55:16 +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 D48DAA18421 for ; Thu, 22 Mar 2012 13:55:15 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id e36so4145266iag.11 for ; Thu, 22 Mar 2012 06:55:15 -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=KI4lj4W+HBwnAPrMmT/WRtSZj4tnLEWW2AvDRTEcNfY=; b=gqQh1x6Urjiz2GqflxakPu1eO9hiXyntOaJdeYmYfTfCsIbb4Fug/mo9llVRJ1d99c ahMYh6Du67+A/U6mFtbfipJtCwH36Iak2DVT6BE8Vu3fc3rX5b8PdZVAoSoLJBS6Eq6j YPut4o/6qNfUY0psCJDH01DaJqAFHbVwI2lxR/TwG9i76rjF3hyK8MHDL4Bz9T6lqJy6 mVdaEODw3xHfTuvXAXp8RBC9/dRNQB1zkHsWKWe0lm5fDb5D00Yc2GX8BrHDUtb/V7iU e2RzHPYh2XYiiRrQcTvqMcCXQMA0xLDUuAtb00dGG87qc8GxXn+soSf0jOeu6g2mjvrF fF0g== Received: by 10.50.153.193 with SMTP id vi1mr1749031igb.2.1332424515563; Thu, 22 Mar 2012 06:55:15 -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.203.79 with SMTP id fh15csp49231ibb; Thu, 22 Mar 2012 06:55:15 -0700 (PDT) Received: by 10.180.81.135 with SMTP id a7mr5320099wiy.16.1332424514470; Thu, 22 Mar 2012 06:55:14 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id x8si2260438wix.19.2012.03.22.06.55.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Mar 2012 06:55:14 -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 1SAiTx-0001Ow-Ul for ; Thu, 22 Mar 2012 13:55:13 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id DD763E012C for ; Thu, 22 Mar 2012 13:55:13 +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: 135 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-test/trunk] Rev 135: added gator test Message-Id: <20120322135513.11713.26048.launchpad@ackee.canonical.com> Date: Thu, 22 Mar 2012 13:55:13 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14981"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: c7ae55e8d7c65f72843a64538dc794ee5a68963c X-Gm-Message-State: ALoCoQmViyEA0CAoteFoQ5PBS3+4/k9D+y1bsRd2Fe170A2Amwxu0/gNYn162QkPefoIUOlIMNNw Merge authors: David Stubbs (stubbsdm) Related merge proposals: https://code.launchpad.net/~stubbsdm/lava-test/add-gatortests/+merge/97853 proposed by: David Stubbs (stubbsdm) review: Approve - Le Chi Thu (le-chi-thu) review: Approve - Zygmunt Krynicki (zkrynicki) review: Resubmit - David Stubbs (stubbsdm) ------------------------------------------------------------ revno: 135 [merge] committer: Le Chi Thu le.chi.thu@linaro.org branch nick: trunk timestamp: Thu 2012-03-22 14:43:07 +0100 message: added gator test added: lava_test/test_definitions/gatortests.py modified: doc/changes.rst doc/tests.rst lava_test/core/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 'doc/changes.rst' --- doc/changes.rst 2012-03-12 13:18:46 +0000 +++ doc/changes.rst 2012-03-16 12:41:05 +0000 @@ -1,8 +1,12 @@ Version History *************** - + + * Add gatortests from dmstubbs. These tests initially check the apt-get process + for installing the gator module and gatord used for DS-5 streamline support. + The tests also check the module is inserted and that gatord is running. * Add reset command + .. _version_0_5: Version 0.5 === modified file 'doc/tests.rst' --- doc/tests.rst 2012-02-24 18:39:28 +0000 +++ doc/tests.rst 2012-03-16 11:23:01 +0000 @@ -10,6 +10,7 @@ * `bootchart`_ * `e2eaudiotest`_ * `firefox`_ + * `gatortests`_ * `glmemperf`_ * `gmpbench`_ * `gtkperf`_ @@ -45,6 +46,10 @@ +++++++ .. automodule:: lava_test.test_definitions.firefox +gatortests +++++++++++ +.. automodule:: lava_test.test_definitions.gatortests + glmemperf +++++++++ .. automodule:: lava_test.test_definitions.glmemperf === modified file 'lava_test/core/providers.py' --- lava_test/core/providers.py 2012-03-08 18:15:41 +0000 +++ lava_test/core/providers.py 2012-03-16 15:01:57 +0000 @@ -32,6 +32,7 @@ 'insanity', 'e2eaudiotest', 'firefox', + 'gatortests', 'glmemperf', 'gmpbench', 'gtkperf', === added file 'lava_test/test_definitions/gatortests.py' --- lava_test/test_definitions/gatortests.py 1970-01-01 00:00:00 +0000 +++ lava_test/test_definitions/gatortests.py 2012-03-16 12:41:05 +0000 @@ -0,0 +1,41 @@ + +# Copyright (c) 2010, 2011, 2012 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 . + +""" +gatortests - tests for streamline gator driver and daemon +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +""" + +from lava_test.core.installers import TestInstaller +from lava_test.core.parsers import TestParser +from lava_test.core.runners import TestRunner +from lava_test.core.tests import Test + + +INSTALLSTEPS = ['bzr branch lp:~stubbsdm/+junk/gator-tests'] +RUNSTEPS = ["python gator-tests/gatortests.py"] +PATTERN = "^\*\*\*(?P\w+):\s(?P\w+)\*\*\*" + + +DEFAULT_OPTIONS = "" + +installer = TestInstaller(INSTALLSTEPS, deps=["python"]) +runner = TestRunner(RUNSTEPS,default_options=DEFAULT_OPTIONS) +parser = TestParser(pattern=PATTERN) +testobj = Test(test_id="gatortests", installer=installer,runner=runner, parser=parser) + +