From patchwork Thu Oct 6 22:18:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Larson X-Patchwork-Id: 4563 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 1880123DEC for ; Thu, 6 Oct 2011 22:18:16 +0000 (UTC) Received: from mail-ey0-f180.google.com (mail-ey0-f180.google.com [209.85.215.180]) by fiordland.canonical.com (Postfix) with ESMTP id 0ACA8A18DF1 for ; Thu, 6 Oct 2011 22:18:16 +0000 (UTC) Received: by mail-ey0-f180.google.com with SMTP id 25so248867eya.11 for ; Thu, 06 Oct 2011 15:18:16 -0700 (PDT) Received: by 10.223.61.211 with SMTP id u19mr6275929fah.29.1317939495650; Thu, 06 Oct 2011 15:18: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.152.23.170 with SMTP id n10cs146171laf; Thu, 6 Oct 2011 15:18:15 -0700 (PDT) Received: by 10.227.154.66 with SMTP id n2mr1649530wbw.3.1317939494329; Thu, 06 Oct 2011 15:18:14 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id et3si5136314wbb.62.2011.10.06.15.18.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 06 Oct 2011 15:18: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 1RBwGb-00055B-Qx for ; Thu, 06 Oct 2011 22:18:13 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id C1041E0409 for ; Thu, 6 Oct 2011 22:18: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: 100 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-test/trunk] Rev 100: re-update power management tests Message-Id: <20111006221813.31264.5327.launchpad@ackee.canonical.com> Date: Thu, 06 Oct 2011 22:18: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="14085"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 19da86cd2a4d510f3da87ebff3a7460201731602 Merge authors: Paul Larson (pwlars) Related merge proposals: https://code.launchpad.net/~pwlars/lava-test/fix-pwrmgmt-tests/+merge/78326 proposed by: Paul Larson (pwlars) ------------------------------------------------------------ revno: 100 [merge] committer: Paul Larson branch nick: lava-test timestamp: Thu 2011-10-06 17:16:04 -0500 message: re-update power management tests modified: lava_test/test_definitions/pwrmgmt.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/pwrmgmt.py' --- lava_test/test_definitions/pwrmgmt.py 2011-09-12 09:19:10 +0000 +++ lava_test/test_definitions/pwrmgmt.py 2011-10-05 22:10:55 +0000 @@ -21,17 +21,29 @@ -INSTALLSTEPS = ['git clone git://git.linaro.org/people/torez/pm-qa.git', +INSTALLSTEPS = ['git clone git://git.linaro.org/tools/pm-qa.git', 'cd pm-qa && make clean && make all'] -RUNSTEPS = ['cd pm-qa && awk -f testcases.awk run_template'] -DEPS = ['git-core', 'make', 'alsa-utils', 'pulseaudio-utils', 'lame', 'festival', 'wget'] +RUNSTEPS = ['cd pm-qa && make check'] +DEPS = ['git-core', 'make', 'linux-libc-dev', 'util-linux'] pwrmgmtinst = TestInstaller(INSTALLSTEPS, deps=DEPS) pwrmgmtrun = TestRunner(RUNSTEPS) -# test case name is between "pm-qa-" and ":" and results and/or -# measurements are rest of the line -PATTERN = "^pm-qa-(?P\w+):\s+(?P.*)" +# 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 "#" + +# Example: +#### +#### cpufreq_02: +#### test the cpufreq framework is available for governor +#### +#cpufreq_02.0/cpu0: checking scaling_available_governors exists... pass +#cpufreq_02.1/cpu0: checking scaling_governor exists... pass +#cpufreq_02.0/cpu1: checking scaling_available_governors exists... pass +#cpufreq_02.1/cpu1: checking scaling_governor exists... pass + +PATTERN = "^(?P[\w/\.]+):\s+(?P.+)\.\.\.\s+(?P\w+)" pwrmgmtparser = TestParser(PATTERN,