Commit Graph

58 Commits

Author SHA1 Message Date
Mingli Yu 74d0a3dad1 ltp: remove useless script STPfailure_report.pl
* Remove useless script STPfailure_report.pl to
  avoid confusing about this script fails to run
  as it lacks dependency on some perl module such
  as LWP::Simple

  - The script STPfailure_report.pl previously is
    added as a tool to analyze failures from LTP
    runs on the OSDL's Scaleable Test Platform (STP) as below:

    commit f0573facbbbf14798cc5b7d4653a5e46b4b95fa5
    Author: robbiew <robbiew>
    Date: Wed Apr 28 19:21:39 2004 +0000

    Added tool for analyzing failures from LTP runs on
    the OSDL's Scaleable Test Platform (STP)

  - And the script STPfailure_report.pl mainly accesses
    http://khack.osdl.org to retrieve ltp test results
    run on OSDL's Scaleable Test Platform (STP) and prints
    the reports, and now the website http://khack.osdl.org
    not accessible, so the script is useless and drop it
    and not ship it on target system

(From OE-Core rev: ba6d01d432dd8244be6ac2b351477b771d5db308)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-03 09:58:42 +01:00
Ross Burton e49d337e84 meta: update patch metadata
Enforce the correct tag names across all of oe-core for consistency.

(From OE-Core rev: 606a43dc38a00cc243f933722db657aea4129f8e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-08 09:57:24 +01:00
Aníbal Limón eecba7171d ltp: Fixes security string printf on testcases/network/nfsv4/acl/acl1.c
[YOCTO #9548]

(From OE-Core rev: 9738bbcee1f0ad274a2c62bb483311ef99238ea6)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-15 09:06:00 +01:00
Tudor Florea 46eed0a4aa ltp: fix test_proc_kill hanging
(From OE-Core rev: 725aad58b917533d5f60bc5a8968ac89038ef219)

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-03 15:51:35 +01:00
Tudor Florea 207ee90595 ltp: add periodic output for memcg stress test
(From OE-Core rev: 26e24d3983096cda7e7455a29eb94fca41dbb4e0)

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-03 15:51:34 +01:00
Khem Raj 4aa08b8976 ltp: Fix build on x86/musl
In last patch it covered out the non-glibc case well
but did not define else case, when __GLIBC__ is not
defined, as a result errors like

| getcpu01.c:107:41: error: use of undeclared identifier 'sys_support'
|         if (((tst_kvercmp(2, 6, 20)) < 0) || !(sys_support)) {

appeared, fixed it with this updated patch

(From OE-Core rev: 04cbc4834076fef6b46af4c5c66046862de7634d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25 10:29:16 +00:00
Khem Raj b5b8003a0b ltp: Upgrade to 20160126 and fix build on musl
pass -D__SANE_USERSPACE_TYPES__ to CFLAGS

MIPS64/PPC64 uses long long for u64 in the kernel, but powerpc's asm/types.h
prevents 64-bit userland from seeing this definition, instead
defaulting to u64 == long in userspace. Define __SANE_USERSPACE_TYPES__
to get int-ll64.h included.

(From OE-Core rev: d17984eda9635f98d4472019d4af83f661b4dfe7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-14 11:42:19 +00:00
Khem Raj 72c1aa2a6d ltp: Add rdep on ldd
Fixes runtime errors e.g.

/opt/ltp/ver_linux: line 50: ldd: command not found
awk: cmd. line:2: (FILENAME=- FNR=1) fatal: attempt to access field -1
/opt/ltp/ver_linux: line 54: ldd: command not found

(From OE-Core rev: 6340624949ee2e556e46381d7144c989f0945ae0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-26 22:49:38 +00:00
Fan Xin be9f7f960c ltp: Upgrade 20150420 -> 20150903
1. Upgrade from 20150420 to 20150903

https://github.com/linux-test-project/ltp/releases/tag/20150903

2. Replace the patch file 0001-replace-inline-with-static-inline-for-gcc-5.x.patch due to the ltp original source code is changed.

(From OE-Core rev: 8e40d9d79bfffa8bc4b1dfd20e78e1554f6c9b00)

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-16 12:12:16 +00:00
Richard Purdie e0890b662e meta: Drop now pointless manual -dbg packaging
With the autodebug package generation logic, specifically setting FILES_${PN}-dbg
isn't needed in most cases, we can remove them.

(From OE-Core rev: 3ab59d49dd7c18e194b58d1248b4b87709b5a738)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-16 11:56:30 +00:00
Kai Kang 9028d9371a ltp: replace 'inline' with 'static inline' for gcc 5.x
gcc 5.x defaults to -std=gnu11 instead of -std=gnu89 which causes
semantics for inline functions changes.

The standalone 'inline' causes error with gcc 5 such as:

git/testcases/kernel/syscalls/kill/kill10.c:355: undefined reference to
`k_sigaction'

Replace inline with static inline to be compatible with both gcc 4 and 5.

Found and test with configure:
SELECTED_OPTIMIZATION="-O0  -fno-omit-frame-pointer -g -pipe"

(From OE-Core rev: 90e28e33c408d1607ebe0afb0db97e39255395d1)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-28 12:00:27 +01:00
Yue Tao 5a0f48fcb7 ltp: Add inhibit of split
With the recent change to allow strip and split of packages
to be controlled seperately, ltp will sometimes fail to build
properly. So in addition to the existing inhibit strip, we
also want to inhibit split.

(From OE-Core rev: 2e42d68f71524360ff9564b927f9270ac4a827db)

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-09 18:00:18 +01:00
Chuang Dong 81ead6af3c ltp: vma03 fix the alginment of page size
the offset the param of mmap2() doesn't align the page size, but,
this param allow must be a multiple of the page size as returned
by sysconf(_SC_PAGE_SIZE).meanwhile offset * 4096 must be a
multiple of the system page size, so modify the input param of offset
pgoff = (ULONG_MAX - 1)&(~((pgsz-1)>>12));

(From OE-Core rev: f9a140441ab27c6e90d108ced76cff2dc70eedf2)

Signed-off-by: Chuang Dong <Chuang.Dong@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-02 23:08:38 +01:00
Robert Yang 18ed8ec921 ltp: 20150119 -> 20150420
The COPYING's md5sum is changed by this commit:
commit 945f9c69af665044448b0eb6816656acc84fca77
Author: Ken Dreyer <kdreyer@redhat.com>
Date:   Mon Jan 26 14:02:46 2015 -0700

    update GPLv2 text in COPYING

    The FSF has issued a couple of tiny updates to the GPLv2. The main
    change is a new mailing address for the FSF headquarters.

    This license text was taken verbatim from
    https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt

The main content are the same.

(From OE-Core rev: b91909e15f817294e609cffcb71c123d44cf7b4b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-30 23:04:15 +01:00
Joe Slater 31801c66df ltp: find all .debug directories
The list of directories for ltp-dbg is incomplete, so
we generalize it.

We also eliminate a non-fatal qa error that the file
test_arch_stripped is stripped.

(From OE-Core rev: b59eff83f971347254081426e8a1f2ef6ee700e5)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-20 23:56:05 +00:00
Maxin B. John 29de3d27c2 ltp: update to 20150119 release
Update LTP to 20150119 release
1. Remove 2 upstreamed patches
2. Add 'expect' to run time dependency and install the tests which
   depend on it.
3. ffsb related configuration problem was fixed in this release.

(From OE-Core rev: 01f91eaa81a986424bf7e9a6b65a73f6395e54cf)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-29 15:36:49 +00:00
Fathi Boudra 2020ba7c48 ltp: update to 20140828 release
bump SRCREV to 20140828 tag
drop automake-foreign patch - fixed upstream (commit 18594de and edbae29)
add add-know-for-tirpc patch - workaround ftbfs with libtirpc found
update realtime tests fixes upstream status from submitted to backported -
merged upstream

(From OE-Core rev: a1dacd52d8bad948dcea3c39278da1d87e3167af)

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-09 10:21:19 +00:00
Gary S. Robertson 5c0b727903 LTP - realtime tests - fix bad robust mutex conditionals
The tests for robust mutexes contained conditional clauses which failed in
autoconf and/or used nonexistent variable names.  Modified these
conditional clauses to use only the variables actually created by
LTP autoconf for this purpose.

(From OE-Core rev: c0189ef8b58b1e63e227c5040cb1c9e915f225c2)

Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-10-06 15:15:51 +01:00
Gary S. Robertson fbcab6ee63 LTP - realtime tests - fix bad PI mutex conditionals
The priority inheritance tests for mutexes used conditional variables
which were non-existent.  Changed the conditional clauses to use the
variables which were actually generated by LTP autoconf for that purpose.

(From OE-Core rev: 812114ad23def92306fbf9f7afb03cee4cbd10d4)

Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-10-06 15:15:51 +01:00
Randy Witt a08bf9a136 ltp: Add additional m4 path to autoconf.
The ltp code has some m4 macros that are deeper than the default depth
that the directory depth the autotools.bbclass checks. This causes some
macros to not be found and for supported features to not be enabled.

This patch adds the extra m4 path to the autoconf arguments.

(From OE-Core rev: 4d8fa4b7a02d1d53f75943607df7e8126e6dbeb8)

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-30 14:31:55 +01:00
Roy Li ab2fcd223d ltp: add PACKAGECONFIG for numactrl
(From OE-Core rev: 4c7873552e13dfdba96afca7562c398d2966ca71)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-30 14:10:36 +01:00
Roy.Li 75d6b2b368 ltp: make setregid02 be able to pass
[YOCTO #6748]

replace "nobody" group with "nogroup", since the user "nobody"
belongs to "nogroup" group and no "nobody" group in oe-core

(From OE-Core rev: 3fc1b5acb50aa864d386f69a1c0d0db0425f970c)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-23 21:38:33 +01:00
Alejandro Hernandez 6730378be3 ltp: Added zip-native as a DEPENDS
The Makefile checks for zip during installation

[YOCTO #6699]

(From OE-Core rev: a6e8ced3fa8e8e2aa3df0798b80eb26e5ebc4b15)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-22 13:04:21 +01:00
Robert Yang 44f98bbab8 ltp: fix RDEPENDS
Fixed:
/opt/ltp/testcases/bin/aio01 -> libaio
/opt/ltp/testcases/bin/*.sh -> bash
/opt/ltp/testcases/bin/*.py -> python
/opt/ltp/bin/*.awk -> awk

(From OE-Core rev: 92b554e2c023c14013625e4464df8fa7187e4524)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-28 15:12:44 +01:00
Ross Burton 03c6fd0caa ltp: use "foreign" automake strictness
ltp doesn't want GNU-levels of automake strictness so tell it to be "foreign".

(From OE-Core rev: 846bc50fde11bbb36c8eb5b2e3ae6bb644c037f3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-16 10:31:17 +01:00
Koen Kooi c13ffb9a03 ltp: enable PM and RT tests
(From OE-Core rev: 370d8954dddd90addd0e955bbd4592316af113b8)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-08 13:00:32 +01:00
Maxin B. John c0df4f67a8 ltp: update version to 20140422
Update ltp version to 20140422
Removed two patches that already exist in the current version:
1. regen-makefile.patch
2. ffsb-remove-hardcoded-configure.patch

(From OE-Core rev: d72430772400c7733da2339f238ab4ea69e48a8e)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-29 17:20:12 +01:00
Saul Wold eb76c48798 Upstream-Status Cleanups
(From OE-Core rev: ea438b58c9a90e4c3147f99d63a9afc66963c5a1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25 17:19:20 +01:00
Chong Lu a511b2554d ltp: Don't link against libfl
We have already defined yywrap function in scan.l file. After this, we no
longer need to link against libfl.
Since we are using --as-needed by default in linker, which means we end
up with errors like

	libfl.so: undefined reference to `yylex'

(From OE-Core rev: db8b59b4ffee73c6e80029083793531d7fd408c4)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-11 08:11:40 -07:00
Richard Purdie 4b048ac882 ltp: Work around parallel make race
As per the comments, the makefiles use make -C extensively and
this causes particular problems around the kernel syscall header. We
therefore ensure its up to date in advance.

Also, append the configure, not prepend since otherwise the configure
will rerun during the build due to the timestamps being outdated.

(From OE-Core rev: e52d6bc4e6567e8a68749ee1eb66fd6176810222)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-02 17:25:29 +00:00
Richard Purdie 069de520ec autotools-brokensep: Mark recipes with broken separate build dir support
This patch goes through the OE-Core recipes and marks those which use autotools
but don't support a separate build directory (${S} != ${B}). A new class,
autotools-brokensep is used for this purpose.

This doesn't introduce any change in behaviour in its own right.

(From OE-Core rev: 006b8a7808a58713af16c326dc37d07765334b12)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-28 14:01:16 +00:00
Fathi Boudra 81325a412b ltp: fix ffsb ftbfs on cross-compiled environment
Add ffsb-remove-hardcoded-configure.patch: get rid of the hardcoded configure call preventing cross-compilation
Add do_configure_prepend to explicitly force regeneration the configure file and pass configure options as appropriate.

(From OE-Core rev: ce48f4ebfeae0bca599c6e39958ec8dec11e09dd)

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02 11:22:09 +00:00
Fathi Boudra 815261a927 ltp: fix comment to refer to oe-core instead of poky
(From OE-Core rev: 3312774a257ccec6adcc77534579526ef45732c3)

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02 11:22:09 +00:00
Fathi Boudra 7f06b03ff8 ltp: update ffsb-6.0-rc2 license file path
(From OE-Core rev: 9c6e76effaf94f01a577cbb6cfa08a35ca92172c)

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02 11:22:09 +00:00
Fathi Boudra 2cb8a4e1af ltp: drop do_unpack_append/do_extract_tarball
we don't use tarball anymore and switched to ltp github mirror.

(From OE-Core rev: 2af5bcd2e68388ac0844cf6bd14d96823cf3deb9)

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02 11:22:09 +00:00
Fathi Boudra 27521186a0 ltp: fix style using oe-stylize (no changes in the content of the recipe itself)
(From OE-Core rev: 0fa8c2619e08326b4913950e278a3a2b2a55d929)

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02 11:22:09 +00:00
Fathi Boudra 2e09b7cbcf ltp: update SRC_REV to LTP 20140115 release
(From OE-Core rev: 30b24980ea67a95daed5534632fd6605e076f65a)

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02 11:22:08 +00:00
Ross Burton cea75f9c8c ltp: fix makefile race
There is a Makefile dependency race causing occasional build failures:

*** No rule to make target `.../work/core2-poky-linux/ltp/20130904-r0/git/testcases/kernel/include/linux_syscall_numbers.h.23161.sh', needed by `linux_syscall_numbers.h'.  Stop.

This is due to a bad dependency wildcard that is matching more than the one file
it should match, so replace it with a concrete filename.

(From OE-Core rev: 639ecfb578ff926f5deddb984f4f8600e161e22a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-15 17:26:50 +00:00
Martin Jansa ab0c7af8f9 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 rev: ebc4c7384c7a355165838ee0935b986840f950e5)

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>
2013-12-14 09:11:19 +00:00
Martin Jansa 4848a52e89 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

(From OE-Core rev: ec3bb2c2203b2e8bafc1a631f623f858779e20b7)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-10 17:42:43 +00:00
Anders Roxell b9b3414f5d ltp: update to new release 20130904
(From OE-Core rev: 5d6ef973fe101bb3547a14452ded79536d9d2582)

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-14 16:55:27 +01:00
Martin Jansa 5fd58bb7f5 ltp: add acl, openssl dependency
* when it's not detected in sysroot it uses bundled version
* add explicit dependency to make it deterministic
* PACKAGECONFIG wasn't used because configure doesn't have an
  option to select which one should be used

(From OE-Core rev: 98c6ea817bb0ca60bddc6be5cf90f14d46cc05a2)

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>
2013-07-29 13:09:09 +01:00
Jesse Zhang 5355311886 ltp: update to new release
(From OE-Core rev: 7f804ccd2a1e8ccfec1481ef757ce35b6edcbacf)

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-25 17:44:56 +01:00
Ting Liu 41c9e424a5 ltp: upgrade to 20130109 release
license changed: http://ltp.git.sourceforge.net/git/gitweb.cgi
commit	4548c6cf9bcdd96d8303caa4130ab638b61f8a30
Update FSF address
find . -type f -exec sed -i 's/675 Mass Ave, Cambridge, MA 02139, USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;
find . -type f -exec sed -i 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;

Change-Id: I88db5b1e53645a5fe083684fdc47a80266266c21
(From OE-Core rev: f07298f0be121059b2d3ae154610754e92534658)

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-28 12:12:21 +01:00
Marko Lindqvist 9545e0b86c ltp: fix license segment md5sum boundary
Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

(From OE-Core rev: c538673caafddbb208d9d18301e84a6a891d7844)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-03 14:32:45 +00:00
Saul Wold 39e8e068c5 ltp: add perl to RDEPENDS
Some of the ltp scripts are perl, this was not seen in the
past because ltp is normally installed in an -sdk build with
perl already there.

(From OE-Core rev: 930216cb9092904642c0419d3475fc731ab0694b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-27 09:44:59 +01:00
Kang Kai f88ee2e28f ltp: add dependency libcap
Similar to libaio, libcap is another dependency of ltp.

If libcap has been done populate_sysroot but rpm/ipk package is not
created, ltp will be compiled with libcap. So when install ltp to a
image, it complains that package libcap is not found.

[Yocto #2973]

(From OE-Core rev: bf5215f095e7e610508fcefe1224c9289c6c56cd)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-28 15:19:39 +01:00
Kang Kai 71749200ea ltp: update
Update to latest version 20120903

(From OE-Core rev: e14a9921928c774d1817704a0a606d3ac7e4f989)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-10 13:01:47 +01:00
Kang Kai 698f0dfd2f ltp: add dependency libaio
When libaio has been populated to sysroot, ltp will be compiled with
libaio. If rpm/deb package of libaio doesn't be created, bitbake
core-image-xxx will fail with:

| Processing task-core-apps-console...
| Processing ltp...
| error: Failed dependencies:
| 	libaio.so.1(LIBAIO_0.4) is needed by ltp-20120614-r0.i586
| 	libaio.so.1(LIBAIO_0.1) is needed by ltp-20120614-r0.i586
| 	libaio.so.1 is needed by ltp-20120614-r0.i586
| ERROR: Function failed: do_rootfs

Add libaio to ltp dependency to fix this issue.

Similiar to [Yocto #2973]

(From OE-Core rev: 4945eafb7dd0d9e59760fdfad98982937be27517)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-30 17:44:06 -07:00
Kang Kai 5af0be987e ltp: update to version 20120614
Update ltp to version 20120614 and update license files at same time.
Remove the patch because it has been merged.

(From OE-Core rev: 6b3c2aa5a32d7d21f9ac760dc7aa18829c03a875)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26 14:55:19 +01:00