From patchwork Wed Sep 5 08:53:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fathi Boudra X-Patchwork-Id: 11185 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 13C6123F22 for ; Wed, 5 Sep 2012 08:53:15 +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 CB999A18563 for ; Wed, 5 Sep 2012 08:52:21 +0000 (UTC) Received: by iafj25 with SMTP id j25so401951iaf.11 for ; Wed, 05 Sep 2012 01:53: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=5saBBb05HJdGkrmFQxa5cYIdfxnU1eU8eQA1fY+9t6o=; b=jEqyfhufirxNc6JvBP6qFcPcsYcMxHpcF7Df6U6+0es2jweDtBk7afYMEw7s+qG8M8 H+yKKEczEAMfXGDQTyoeXH3RV3yZmgAmBT4d1muzrtf4ofVH05AF7Y6QcnSK20RFvWU6 bPDtxnOx3qmjg/6edV755ZdELJHET2y/xB+azSX0A/g2VXLyk4edQKMxv87vy3Mad/Ol 2fCN7OYKmvloVmW2fJYXLASSWF0sn+dlYh/7EK+Mqh8RiHRSpjDF8g/PZXA815h4CfwR IKJ2uWEe3KYian5ofpiX68SVJ3iHLfhZ+doLLGoUkySzci0RJYPdKPk6NeQGeI8JzTL7 pY1w== Received: by 10.50.180.129 with SMTP id do1mr17106642igc.28.1346835193878; Wed, 05 Sep 2012 01:53: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.184.232 with SMTP id ex8csp240907igc; Wed, 5 Sep 2012 01:53:12 -0700 (PDT) Received: by 10.180.104.200 with SMTP id gg8mr36509642wib.14.1346835191694; Wed, 05 Sep 2012 01:53:11 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id cx7si34267446wib.42.2012.09.05.01.53.11 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 05 Sep 2012 01:53:11 -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 1T9BME-0001LR-Tv for ; Wed, 05 Sep 2012 08:53:10 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id D748DE2BAF for ; Wed, 5 Sep 2012 08:53: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: 169 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-test/trunk] Rev 169: Add the validation test suite for TI ARM features on Linux (lt_ti_lava) Message-Id: <20120905085310.27068.66048.launchpad@ackee.canonical.com> Date: Wed, 05 Sep 2012 08:53: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="15901"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: e7afb1004abbcfcfb15a462d736e2a918af65906 X-Gm-Message-State: ALoCoQlR5ZkM4zs0pUL3TM/XDFAHOAQX+FxnF8vh4/3xuTHI7MYJ/5lOy1QSo9/0HZWOztccHJyI ------------------------------------------------------------ revno: 169 committer: fboudra@gmail.com branch nick: lava-test timestamp: Wed 2012-09-05 11:51:51 +0300 message: Add the validation test suite for TI ARM features on Linux (lt_ti_lava) added: lava_test/test_definitions/lt_ti_lava.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-06-28 06:36:33 +0000 +++ doc/changes.rst 2012-09-05 08:51:51 +0000 @@ -7,6 +7,8 @@ ============ * Unreleased +* Add Validation test suite for TI ARM features on Linux (lt_ti_lava) + .. _version_0_10: Version 0.10 === modified file 'doc/tests.rst' --- doc/tests.rst 2012-04-04 08:36:39 +0000 +++ doc/tests.rst 2012-09-05 08:51:51 +0000 @@ -16,6 +16,7 @@ * `gtkperf`_ * `insanity`_ * `leb-basic-graphics`_ + * `lt_ti_lava`_ * `ltp`_ * `ltp-snowball-tests`_ * `lttng`_ @@ -71,6 +72,10 @@ ++++++++++++++++++ .. automodule:: lava_test.test_definitions.leb_basic_graphics +lt_ti_lava ++++++++++ +.. automodule:: lava_test.test_definitions.lt_ti_lava + ltp +++ .. automodule:: lava_test.test_definitions.ltp === modified file 'lava_test/core/providers.py' --- lava_test/core/providers.py 2012-04-11 01:57:50 +0000 +++ lava_test/core/providers.py 2012-09-05 08:51:51 +0000 @@ -37,6 +37,7 @@ 'gmpbench', 'gtkperf', 'leb_basic_graphics', + 'lt_ti_lava', 'ltp', 'ltp-snowball-tests', 'lttng', === added file 'lava_test/test_definitions/lt_ti_lava.py' --- lava_test/test_definitions/lt_ti_lava.py 1970-01-01 00:00:00 +0000 +++ lava_test/test_definitions/lt_ti_lava.py 2012-09-05 08:51:51 +0000 @@ -0,0 +1,56 @@ +# Copyright (c) 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 . + +""" +Validation test suite for TI ARM features on Linux + +**URL:** http://git.linaro.org/gitweb?p=people/davelong/lt_ti_lava.git;a=summary + +**Default options:** None +""" + +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 + +# Continue the test run in case of failures +DEFAULT_OPTIONS = "-k" + +INSTALLSTEPS = ['git clone git://git.linaro.org/people/davelong/lt_ti_lava.git', + 'cd lt_ti_lava && make -C utils'] +RUNSTEPS = ['cd lt_ti_lava && make $(OPTIONS) check'] +DEPS = ['git-core', 'linux-libc-dev', 'build-essential'] + +# test case name is before ":" , the test log is between ":" and "...", +# the result is after "..." +# Each test case is separated with a test description beginning with "#" + +PATTERN = ( + "^(?P[\w/\.]+):" + "\s+" + "(?P.+)" + "\.\.\.\s+" + "(?P\w+)") + +installer = TestInstaller(INSTALLSTEPS, deps=DEPS) +runner = TestRunner(RUNSTEPS, default_options=DEFAULT_OPTIONS) +parser = TestParser(PATTERN, appendall={'result': 'pass'}) + +testobj = Test( + test_id="lt_ti_lava", + installer=installer, + runner=runner, + parser=parser)