From patchwork Wed Jun 6 17:50:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fathi Boudra X-Patchwork-Id: 9145 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 CC89E23EB4 for ; Wed, 6 Jun 2012 17:50:18 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 7C501A180B8 for ; Wed, 6 Jun 2012 17:50:18 +0000 (UTC) Received: by yhpp61 with SMTP id p61so5719324yhp.11 for ; Wed, 06 Jun 2012 10:50:18 -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=YlJExvjUd5BGipNE88SLtDsEMOh5dh+sYBFA9E03Zxg=; b=LMYwWZM0aGWpBdP63LmDRlmOBpr/fQhu3LXRH1Fn7Wl74WQYwRJ8KxavGOM8m6Hq3v NBu1U3aO9m8XFoWMejxgqVWwuKG2yuTJNk5awh+FZp83GWZYDiaf1bwFNoS6AbqxOiYw wd46068oaroMf8xx6YvjieoxqPshFB0ok4E63MXxx3iL6DyG6ACD7EyeWkacMjrDJ+Eh ACwT2WjR98RNWITigiJC19FcVi3WorHEkdRoGuyfPwdOxl2PRAkhJ1fjIS8PpTpIs3DM wbDSX3O0pCNHqio4f4Xd/5//w/9H6dG1r/+kiVtm+Dh1mDVo5Xet19/SUj1v9S0JXVM9 YI+g== Received: by 10.42.210.193 with SMTP id gl1mr14524040icb.57.1339005017821; Wed, 06 Jun 2012 10:50: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.231.24.148 with SMTP id v20csp98263ibb; Wed, 6 Jun 2012 10:50:17 -0700 (PDT) Received: by 10.14.119.197 with SMTP id n45mr10113511eeh.204.1339005016468; Wed, 06 Jun 2012 10:50:16 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id fu9si3709432wib.41.2012.06.06.10.50.16 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 06 Jun 2012 10:50: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 1ScKN5-0004Nd-TN for ; Wed, 06 Jun 2012 17:50:15 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id CD3AFE0055 for ; Wed, 6 Jun 2012 17:50:15 +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: 158 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-test/trunk] Rev 158: Update LTP test to 20120401. Message-Id: <20120606175015.22373.73056.launchpad@ackee.canonical.com> Date: Wed, 06 Jun 2012 17:50:15 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="15353"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 9c02c62b90629fb2e41ac152c290f9f2a8718604 X-Gm-Message-State: ALoCoQlgGJspkQKPSNemHyEebTWC+ofemDBDaOoDYFWKhWSBeWtTgyTtLxkeCrLCIQmwzPtgVOkJ Merge authors: Fathi Boudra (fboudra) Related merge proposals: https://code.launchpad.net/~fboudra/lava-test/update-ltp-test-20120104/+merge/107740 proposed by: Fathi Boudra (fboudra) review: Approve - Michael Hudson-Doyle (mwhudson) ------------------------------------------------------------ revno: 158 [merge] committer: Fathi Boudra branch nick: lava-test timestamp: Wed 2012-06-06 20:46:56 +0300 message: Update LTP test to 20120401. modified: lava_test/test_definitions/ltp.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/ltp.py' --- lava_test/test_definitions/ltp.py 2012-03-08 19:22:21 +0000 +++ lava_test/test_definitions/ltp.py 2012-05-29 03:35:23 +0000 @@ -1,4 +1,4 @@ -#, Copyright (c) 2010, 2011 Linaro +# Copyright (c) 2010-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 @@ -24,33 +24,25 @@ import re - 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 - -VERSION = "20100831" -URL = ('http://downloads.sourceforge.net/project/ltp/' - 'LTP Source/ltp-%s/ltp-full-%s.bz2') % (VERSION, VERSION) -MD5 = "6982c72429a62f3917c13b2d529ad1ce" -DEPS = ['bzip2', 'flex', 'bison', 'make', 'build-essential'] - -SCRIPT = """ -tar -xjf ltp-full-20100831.bz2 -mkdir build -cd ltp-full-20100831 -./configure --prefix=$(readlink -f ../build) -make all -SKIP_IDCHECK=1 make install -""" +VERSION = "20120401" +INSTALLSTEPS = ['tar --strip-components=1 -jxf ltp-full-%s.bz2' % VERSION, + 'mkdir build', + './configure --prefix=$(readlink -f build)', + 'make all', + 'make SKIP_IDCHECK=1 install'] +DEPS = ['bzip2', 'flex', 'bison', 'build-essential'] +URL = ("http://downloads.sourceforge.net/project/ltp/LTP Source/" + "ltp-%s/ltp-full-%s.bz2") % (VERSION, VERSION) +MD5 = "e1d0acf1a6b6da0cb30dc1b0dcf5f26d" + +RUNSTEPS = ['cd build && sudo ./runltp $(OPTIONS)'] DEFAULT_OPTIONS = "-f syscalls -p -q" -INSTALLSTEPS = ["echo '%s' > installltp.sh" % SCRIPT, - 'chmod +x installltp.sh', - './installltp.sh'] -RUNSTEPS = ['cd build && sudo ./runltp $(OPTIONS)'] PATTERN = ( "^(?P\S+)" " (?P\d+)" @@ -64,7 +56,6 @@ "TPASS": "pass", "TWARN": "unknown"} - class LTPParser(TestParser): def parse(self, artifacts): @@ -84,7 +75,6 @@ self.results['test_results'].append( self.analyze_test_result(results)) - installer = TestInstaller(INSTALLSTEPS, deps=DEPS, url=URL, md5=MD5) runner = TestRunner(RUNSTEPS, default_options=DEFAULT_OPTIONS) parser = LTPParser(PATTERN, fixupdict=FIXUPS)