]> code.ossystems Code Review - openembedded-core.git/commit
ltp: set PREFERRED_PROVIDER and rename runtests_noltp.sh script
authorMartin Jansa <martin.jansa@gmail.com>
Sat, 7 Dec 2013 17:49:42 +0000 (18:49 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Jan 2014 12:48:15 +0000 (12:48 +0000)
commit198623d80d31f19c963e61d03cbcb12dd318dfdf
tree8cf49585acd4652cbafd38cbea98b8b0cb61e2ca
parente64d2a6d408ac542bdaa42680d10d0fb05b92a60
ltp: set PREFERRED_PROVIDER and rename runtests_noltp.sh script

* ltp installs 2 different runtests_noltp.sh files from different
  directories into /opt/ltp/testcases/bin/runtests_noltp.sh
  last one installed wins and causes unexpected changes in
  buildhistory's files-in-image.txt report, rename them to have
  unique name as other ltp scripts have.

* also define PREFERRED_PROVIDER to resolve note shown when
  building with meta-oe layer:
  NOTE: multiple providers are available for ltp (ltp, ltp-ddt)
  NOTE: consider defining a PREFERRED_PROVIDER entry to match ltp

* use patch generated without -M
  in my builds both versions worked, but Saul reported that it fails to
  apply with:
  Applying patch
  0001-Rename-runtests_noltp.sh-script-so-have-unique-name.patch
  patch: **** Only garbage was found in the patch input.

  Now I've see the same issue on different builder (with Ubuntu 12.04).

  (From OE-Core master rev: ec3bb2c2203b2e8bafc1a631f623f858779e20b7)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/conf/distro/include/default-providers.inc
meta/recipes-extended/ltp/ltp/0001-Rename-runtests_noltp.sh-script-so-have-unique-name.patch [new file with mode: 0644]
meta/recipes-extended/ltp/ltp_20130503.bb