summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp
Commit message (Collapse)AuthorAgeFilesLines
* ltp: find all .debug directoriesJoe Slater2015-03-201-3/+6
| | | | | | | | | | | | | | 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>
* ltp: update to 20150119 releaseMaxin B. John2015-01-293-124/+2
| | | | | | | | | | | | | | 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-095-24/+43
| | | | | | | | | | | | | 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-062-0/+63
| | | | | | | | | | | | 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-062-0/+49
| | | | | | | | | | | 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 additional m4 path to autoconf.Randy Witt2014-09-301-0/+1
| | | | | | | | | | | | | 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>
* ltp: add PACKAGECONFIG for numactrlRoy Li2014-09-302-0/+41
| | | | | | | (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-232-0/+62
| | | | | | | | | | | | [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: Added zip-native as a DEPENDSAlejandro Hernandez2014-09-221-1/+1
| | | | | | | | | | | 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>
* ltp: fix RDEPENDSRobert Yang2014-08-281-1/+1
| | | | | | | | | | | | | 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>
* ltp: use "foreign" automake strictnessRoss Burton2014-07-162-0/+21
| | | | | | | | | 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: enable PM and RT testsKoen Kooi2014-05-081-0/+2
| | | | | | | | (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>
* ltp: update version to 20140422Maxin B. John2014-04-293-41/+2
| | | | | | | | | | | | | 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-112-0/+32
| | | | | | | | | | | | | | 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: Work around parallel make raceRichard Purdie2014-03-021-1/+9
| | | | | | | | | | | | | 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>
* autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie2014-02-281-1/+1
| | | | | | | | | | | | 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>
* ltp: fix ffsb ftbfs on cross-compiled environmentFathi Boudra2014-02-022-0/+22
| | | | | | | | | | | 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 comment to refer to oe-core instead of pokyFathi Boudra2014-02-021-1/+1
| | | | | | | | (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>
* ltp: update ffsb-6.0-rc2 license file pathFathi Boudra2014-02-021-1/+1
| | | | | | | | (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>
* ltp: drop do_unpack_append/do_extract_tarballFathi Boudra2014-02-021-12/+0
| | | | | | | | | | 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>
* ltp: fix style using oe-stylize (no changes in the content of the recipe itself)Fathi Boudra2014-02-021-49/+51
| | | | | | | | (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>
* ltp: update SRC_REV to LTP 20140115 releaseFathi Boudra2014-02-021-1/+1
| | | | | | | | (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>
* ltp: fix makefile raceRoss Burton2014-01-152-0/+23
| | | | | | | | | | | | | | 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-102-1/+41
| | | | | | | | | | | | | | | | | | * 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 new release 20130904Anders Roxell2013-10-141-5/+5
| | | | | | | | (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>
* ltp: add acl, openssl dependencyMartin Jansa2013-07-291-1/+1
| | | | | | | | | | | | | * 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>
* ltp: update to new releaseJesse Zhang2013-06-251-2/+2
| | | | | | | | (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>
* ltp: upgrade to 20130109 releaseTing Liu2013-04-281-7/+5
| | | | | | | | | | | | | | | 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>
* ltp: fix license segment md5sum boundaryMarko Lindqvist2012-12-031-1/+1
| | | | | | | | | | | | 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>
* ltp: add perl to RDEPENDSSaul Wold2012-10-271-1/+3
| | | | | | | | | | | 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>
* ltp: add dependency libcapKang Kai2012-09-281-2/+2
| | | | | | | | | | | | | | | 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>
* ltp: updateKang Kai2012-09-101-3/+3
| | | | | | | | | | 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>
* ltp: add dependency libaioKang Kai2012-08-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* ltp: update to version 20120614Kang Kai2012-07-262-20/+5
| | | | | | | | | | | 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>
* Convert tab indentation in python functions into four-spaceRichard Purdie2012-07-191-1/+1
| | | | | | (From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Add patch to correct failing buildCristian Iorga2012-06-052-2/+15
| | | | | | | | | | | | 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: Add attr to DEPENDS listSaul Wold2012-05-251-1/+3
| | | | | | | (From OE-Core rev: a6d6432b508451d0847336dc980bc0541396e310) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Upgrade LTP to version 20120401Jiajun Xu2012-05-252-82/+3
| | | | | | | (From OE-Core rev: bbb9f831dbfcedf799021f2b0a1dd7aef3c0f928) Signed-off-by: Jiajun Xu <jiajun.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Package static library in -staticdevSaul Wold2012-03-141-0/+4
| | | | | | | | WARNING: QA Issue: non -staticdev package contains static .a library: ltp path '/work/i586-poky-linux/ltp-20120104-r0/packages-split/ltp/opt/ltp/lib/libmem.a' (From OE-Core rev: d989fddba5c086ecabe77aff7fd8c0d05a36b2a5) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Update recipe and fix building on uclibcKhem Raj2012-01-252-5/+83
| | | | | | | (From OE-Core rev: 4e8644584aa8826e9cbf9ff0dc23b8c395978013) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: disable elf binary strippingNitin A Kamble2012-01-241-1/+5
| | | | | | | | | | | | | | Otherwise the ltp tests ldd01 & nm01 fail due to missing stripped information. This Fixes these bugs: [YOCTO #1922] [YOCTO #1923] (From OE-Core rev: 075266fa8bf12719c58a21c75a35fede5608dcdf) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Add recipe from OEJiajun Xu2011-12-211-0/+68
Port ltp recipe from OE and upgraged to latest version(20110915). Install ltp into ${D}/opt/ltp and POSIX test suite is also copied into ${D}/opt/ltp/testcases. TODO: Some cases are removed since they depend on command 'expect'. It is not in Poky or OE and we will add it for enhancement next. (From OE-Core rev: 73faa95042bbecfe7b3ba3b43364d9471f9c3a6e) Signed-off-by: Jiajun Xu <jiajun.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OpenPOWER on IntegriCloud