summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp
Commit message (Collapse)AuthorAgeFilesLines
* ltp: Fixes security string printf on testcases/network/nfsv4/acl/acl1.cAníbal Limón2016-05-151-0/+41
| | | | | | | | | [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>
* ltp: fix test_proc_kill hangingTudor Florea2016-04-031-0/+23
| | | | | | | (From OE-Core rev: 725aad58b917533d5f60bc5a8968ac89038ef219) Signed-off-by: Tudor Florea <tudor.florea@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: add periodic output for memcg stress testTudor Florea2016-04-031-0/+43
| | | | | | | (From OE-Core rev: 26e24d3983096cda7e7455a29eb94fca41dbb4e0) Signed-off-by: Tudor Florea <tudor.florea@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Fix build on x86/muslKhem Raj2016-03-252-22/+69
| | | | | | | | | | | | | | | | | 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>
* ltp: Upgrade to 20160126 and fix build on muslKhem Raj2016-02-1436-402/+2668
| | | | | | | | | | | | | | 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>
* ltp: Upgrade 20150420 -> 20150903Fan Xin2015-12-161-15/+25
| | | | | | | | | | | | | | 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>
* ltp: replace 'inline' with 'static inline' for gcc 5.xKai Kang2015-09-281-0/+69
| | | | | | | | | | | | | | | | | | | | | 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>
* ltp: vma03 fix the alginment of page sizeChuang Dong2015-07-021-0/+34
| | | | | | | | | | | | | | 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>
* ltp: update to 20150119 releaseMaxin B. John2015-01-292-110/+0
| | | | | | | | | | | | | | 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>
* ltp: update to 20140828 releaseFathi Boudra2014-11-094-22/+39
| | | | | | | | | | | | | 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>
* LTP - realtime tests - fix bad robust mutex conditionalsGary S. Robertson2014-10-061-0/+62
| | | | | | | | | | | | 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>
* LTP - realtime tests - fix bad PI mutex conditionalsGary S. Robertson2014-10-061-0/+48
| | | | | | | | | | | 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>
* ltp: add PACKAGECONFIG for numactrlRoy Li2014-09-301-0/+39
| | | | | | | (From OE-Core rev: 4c7873552e13dfdba96afca7562c398d2966ca71) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: make setregid02 be able to passRoy.Li2014-09-231-0/+61
| | | | | | | | | | | | [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>
* ltp: use "foreign" automake strictnessRoss Burton2014-07-161-0/+20
| | | | | | | | | 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>
* ltp: update version to 20140422Maxin B. John2014-04-292-37/+0
| | | | | | | | | | | | | 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>
* Upstream-Status CleanupsSaul Wold2014-04-251-1/+1
| | | | | | | (From OE-Core rev: ea438b58c9a90e4c3147f99d63a9afc66963c5a1) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Don't link against libflChong Lu2014-03-111-0/+31
| | | | | | | | | | | | | | 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>
* ltp: fix ffsb ftbfs on cross-compiled environmentFathi Boudra2014-02-021-0/+15
| | | | | | | | | | | 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>
* ltp: fix makefile raceRoss Burton2014-01-151-0/+22
| | | | | | | | | | | | | | 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>
* ltp: Use patch generated without -MMartin Jansa2013-12-141-13/+177
| | | | | | | | | | | | | | | | * 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>
* ltp: set PREFERRED_PROVIDER and rename runtests_noltp.sh scriptMartin Jansa2013-12-101-0/+38
| | | | | | | | | | | | | | | | | | * 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>
* ltp: update to version 20120614Kang Kai2012-07-261-13/+0
| | | | | | | | | | | 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>
* ltp: Add patch to correct failing buildCristian Iorga2012-06-051-0/+13
| | | | | | | | | | | | ltp makefile does not interpret correctly the result of git describe command and assumes that it is working with a git repo, while in fact working with a source code archive. Added a patch to corect makefile system. (From OE-Core rev: 13e52fafae0fb06b26d179a5cac6898babbadc51) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Upgrade LTP to version 20120401Jiajun Xu2012-05-251-78/+0
| | | | | | | (From OE-Core rev: bbb9f831dbfcedf799021f2b0a1dd7aef3c0f928) Signed-off-by: Jiajun Xu <jiajun.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Update recipe and fix building on uclibcKhem Raj2012-01-251-0/+78
(From OE-Core rev: 4e8644584aa8826e9cbf9ff0dc23b8c395978013) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>