From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mail.openembedded.org (Postfix) with ESMTP id 50100731CF for ; Mon, 4 Jan 2016 18:27:50 +0000 (UTC) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 04 Jan 2016 10:27:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,521,1444719600"; d="scan'208";a="874414299" Received: from alimonb-mobl1.zpn.intel.com ([10.219.5.151]) by fmsmga001.fm.intel.com with ESMTP; 04 Jan 2016 10:27:44 -0800 From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= To: openembedded-core@lists.openembedded.org Date: Mon, 4 Jan 2016 12:29:16 -0600 Message-Id: <1451932157-3190-3-git-send-email-anibal.limon@linux.intel.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1451932157-3190-1-git-send-email-anibal.limon@linux.intel.com> References: <1451932157-3190-1-git-send-email-anibal.limon@linux.intel.com> MIME-Version: 1.0 Cc: paul.eggleton@linux.intel.com, georgex.l.musat@intel.com, poky@yoctoproject.org, benjamin.esquivel@intel.com Subject: [PATCH v3 2/3] ptest-runner: Add a recipe for install ptest-runner 2.0. X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2016 18:27:51 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [YOCTO #8021] Signed-off-by: Aníbal Limón --- .../ptest-runner/ptest-runner_2.0.bb | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta/recipes-support/ptest-runner/ptest-runner_2.0.bb diff --git a/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb b/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb new file mode 100644 index 0000000..0d0037e --- /dev/null +++ b/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb @@ -0,0 +1,27 @@ +SUMMARY = "A python script to run all installed ptests" + +DESCRIPTION = "The ptest-runner package installs a ptest-runner \ +python script which loops through all installed ptest test suites and \ +runs them in sequence." + +HOMEPAGE = "https://wiki.yoctoproject.org/wiki/Ptest" +SRC_URI += "file://ptest-runner_2.0.py" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ + file://${COREBASE}/meta/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe" + +INHIBIT_DEFAULT_DEPS = "1" +RDEPENDS_${PN} = "python python-fcntl python-argparse python-logging python-datetime \ + python-subprocess" + +S = "${WORKDIR}" + +do_install () { + install -D -m 0755 ${WORKDIR}/ptest-runner_2.0.py ${D}${bindir}/ptest-runner +} + +do_patch[noexec] = "1" +do_configure[noexec] = "1" +do_compile[noexec] = "1" +do_build[noexec] = "1" -- 2.1.4