summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp
Commit message (Collapse)AuthorAgeFilesLines
* ltp: build open posix test suiteFathi Boudra2018-07-021-1/+1
| | | | | | | | | | | | | | We ship the open posix test suite already but it isn't compiled. Let's build it and make it ready to use on the device. (From OE-Core rev: 79b22a2539b7dec762523ca544e27b9cce7ee81e) (From OE-Core rev: 65c044207fdc38f4b332278b120302f04366269e) Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: add rdepend for procpsArmin Kuster2018-03-281-0/+1
| | | | | | | | | | | | | ps: invalid option -- 'e' BusyBox v1.27.2 (2018-03-17 09:07:25 PDT) multi-call binary. Usage: ps (From OE-Core rev: 4bf2d47f7773ffec278192eb337c14953f85e858) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: refresh patchesRoss Burton2018-03-112-56/+51
| | | | | | | | | | | | | | | | | | | | | The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: 040b4bb125e28750e089f631c1debb088bb3bc9f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: fix knob to control numa supportAnders Roxell2018-02-164-46/+83
| | | | | | | | | Reported-by: Yi Zhao <yi.zhao@windriver.com> (From OE-Core rev: cf355518a479b75f3cbf57770ba0f699f85678d8) Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: fix fanotify06 testAnders Roxell2018-02-162-0/+41
| | | | | | | (From OE-Core rev: 514ffed6a2d42f0a1c40c906e7502cfd7e590a0f) Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Improve package strippingRichard Purdie2018-02-151-4/+2
| | | | | | | | | | Just exclude the specific tests which have an issue with being stripped rather than the whole package. This reduces the disk footprint by around 400MB. (From OE-Core rev: 460ccb6e2c5e858614cb61f21923062b55ff325e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: remove patches that already have fixes upstreamAnders Roxell2018-02-066-286/+0
| | | | | | | | | | | | | | | | | The following patches has already fixes for the issues they are solving in upstream. - 0001-add-_GNU_SOURCE-to-pec_listener.c.patch - 0011-Rename-sigset-variable-to-sigset1.patch - 0025-mc_gethost-include-sys-types.h.patch - 0027-sysconf01-Use-_SC_2_C_VERSION-conditionally.patch - 0033-shmat1-Cover-GNU-specific-code-under-__USE_GNU.patch Suggested-by: Yi Zhao <yi.zhao@windriver.com> (From OE-Core rev: 88e12a14540e10718fb2e68f27834d9b7565ab7e) Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: bump to release 20180118Anders Roxell2018-01-305-114/+21
| | | | | | | | | | | | | | Removed 3 patches that have been upstreamed: - 0030-lib-Use-PTHREAD_MUTEX_RECURSIVE-in-place-of-PTHREAD_.patch - 0037-ltp-fix-format-security-error.patch - 0038-generate-reproducible-gzip.patch Reworked path 0002-Add-knob-to-control-whether-numa-support-should-be-c.patch. (From OE-Core rev: a65081b27109393ff6ec29cd122c017bff637928) Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: fix ar01 case failureYi Zhao2018-01-022-0/+253
| | | | | | | | | | | | | Our binutils is configured with --enable-deterministic-archives, so ar runs in deterministic mode by default. The ar01 case would fail because it doesn't consider this mode. Backport a patch from upstream to fix this issue. (From OE-Core rev: 094e98172e1bbc64f8e6d2a97208a58189674773) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: add tar as runtime dependencyYi Zhao2018-01-021-0/+1
| | | | | | | | | | | The tar from busybox lacks some options that cause the tar01 case failed. Add tar as runtime dependency. (From OE-Core rev: bd11699037067daf92eb872da47d4bd53be413ea) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: remove ltp-staticdev packageDengke Du2017-12-101-4/+2
| | | | | | | | | | | | The nm01 testcase runtime depends on a static library, and ltp-staticdev package is entirely pointless, so remove it and add the static libraries to ltp main package and skip the "staticdev" checks. (From OE-Core rev: 002f7b9f038b86b793b8e0558bcd17ad58372767) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: improve reproducibilityJuro Bystricky2017-12-022-0/+21
| | | | | | | | | | | | | | ltp package contains several gzipped files. Improve reproducibility of the build by ensuring the gzipped files do not contain timestamps in their headers. https://wiki.debian.org/ReproducibleBuilds/TimestampsInGzipHeaders (From OE-Core rev: d4ac52bef9f5364619fcb8e2f8c05927d660fff7) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: upgrade to 20170929Dengke Du2017-11-054-150/+38
| | | | | | | | | | | | | | | | | delete two patches, because upstream already contain those: 0037-ltp-fix-PAGE_SIZE-redefinition-and-O_CREAT-undeclear.patch 0038-commands-gdb01-replace-stdin-with-dev-null.patch add one patch, fix build when set the DISTRO to poky-lsb: 0037-ltp-fix-format-security-error.patch (From OE-Core rev: ea6abed9dd638544f406ec2176b2c926bb1acf9b) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: fix hanging issue for gdb01 caseYi Zhao2017-09-222-0/+35
| | | | | | | | | | | | If gdb01 testcase runs as background process, gdb can receive SIGTTOU and then the case gets stuck. Replace stdin with /dev/null to fix this issue. The patch is backported from upstream. (From OE-Core rev: b38a44e3ca30a8fe83bdccb4ee2b7748b3f7f223) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Skip the filedependency scanMark Hatle2017-08-181-0/+6
| | | | | | | | | | | | | | | Since LTP includes a set of test cases, we need to skip file dependency generation, as there will be dependencies that can not be satisfied. In this case a csh and ksh dependency come from two tests. The alternative would be to depend on csh/ksh (a bad idea as they're not available in oe-core) or remove the tests (but this eliminates the tests if someone DOES have csh/ksh in their configurations.) (From OE-Core rev: 8c4dcdfa9d5a37acb6f492b1cf0e40a403e5fbe9) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: upgrade to upstream latest commit on 20170804Dengke Du2017-08-166-285/+115
| | | | | | | | | | | | | | | | | | | | | | | 1. Drop 4 patches because the upstream already contains them: 0001-dirtyc0w-Include-stdint.h.patch 0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch 0037-faccessat-and-fchmodat-Fix-build-warnings.patch 0038-syscalls-add_key02-update-to-test-fix-for-nonempty-N.patch 2. Drop the do_compile_prepend function, because the upstream already fix the parallel make race, we can check it here: https://github.com/linux-test-project/ltp/commit/3f385652efe811fe7491474f8513baf44cf0a12d 3. Fix PAGE_SIZE redefinition and O_CREAT undeclear build failures when using musl 4. Fix runtime failed case file01 (From OE-Core rev: 46feafdc13b8c3c4b03d44a4a95a87d4ee25300c) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: add acl, attr, curl and util-linux runtime dependenciesFathi Boudra2017-07-061-2/+22
| | | | | | | | | | | | | | | | | | * Use a list and re-order alphabetically to make it easier to read and update. * Add missing runtime dependencies: - acl (getfacl/setfacl commands are required) - attr (getfattr/setfattr commands are required) - iproute2 (required for netns tests) - curl (curl command is required) - util-linux (ipcs command is required) Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> (From OE-Core rev: a7480beb33e69d7cb63353ffa215326f4ae4b87d) Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Reduce local Pending patchesDengke Du2017-07-063-22/+25
| | | | | | | | | | | | | | Rebase the patch on latest ltp upstream: 0007-fix-__WORDSIZE-undeclared-when-building-with-musl.patch [Yocto #11548] (From OE-Core rev: 69bd27d9d268d4c52aa521a0ceed0eb5a259a516) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: syscalls/add_key02: fix for nonempty NULL payloadFathi Boudra2017-07-062-0/+137
| | | | | | | | | | | | | Add upstream patch to fix syscalls/add_key02 test for nonempty NULL payload: https://github.com/linux-test-project/ltp/commit/25045624e941ee76a13febd36187e23c6c435507 (From OE-Core rev: c7c72b73a841c6eadf88428db643e77deb0c0e65) Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org> Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: use upstream patch to fix faccessat/fchmodat build warningsFathi Boudra2017-06-283-71/+69
| | | | | | | | | | | | | Use 0037-faccessat-and-fchmodat-Fx-build-warnings.patch instead of 0012-fix-faccessat01.c-build-fails-with-security-flags.patch. The new patch has been merged upstream and will be available in next LTP release. (From OE-Core rev: 3c1d9629ac3b5af47d0f4db09b4eb7e0eb4b0afe) Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Add/fix missing Upstream-Status to patchesRichard Purdie2017-06-2717-0/+28
| | | | | | | | | This adds or fixes the Upstream-Status for all remaining patches missing it in OE-Core. (From OE-Core rev: 563cab8e823c3fde8ae4785ceaf4d68a5d3e25df) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Include stdint.h for uintptr_tKhem Raj2017-06-132-0/+35
| | | | | | | | | Fixes build with musl and upcoming glibc (From OE-Core rev: af314c17f6c32afbed9a277775156b9bbc5ac033) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: upgrade to 20170516Dengke Du2017-06-063-42/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | 1. rebase patch 0034-periodic_output.patch This patch can't apply, because in memcg_stress_test.sh, it used a different value for RUN_TIME: 15*60, we can check it here: https://github.com/linux-test-project/ltp/blob/20170516/testcases/kernel/controllers/memcg/stress/memcg_stress_test.sh#L40 Previous is 60*60, we can check it here: https://github.com/linux-test-project/ltp/blob/20170116/testcases/kernel/controllers/memcg/stress/memcg_stress_test.sh#L40 2. delete patch 0039-fcntl-fix-the-time-def-to-use-time_t.patch This patch didn't need any more, because the upstream has remove the unneeded time() declaration. We can check it here: https://github.com/linux-test-project/ltp/commit/f8c96804e5e89d360707c9670b18221b11cf3858 (From OE-Core rev: f09b8d587aa5a0bbaaa653ef9dc0d25837336e17) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: fix an incorrect macro checkingJackie Huang2017-04-191-5/+2
| | | | | | | | | | | | | | | | | The previous patch added a check but incorrectly change the elif to if, then it always return 0 for cpuid if the machine is not __i386__ getcpu01 1 TFAIL : getcpu01.c:140: getcpu() returned wrong value expected cpuid:7, returned value cpuid: 0 After this fix: getcpu01 1 TPASS : getcpu() returned proper cpuid:7, node id:0 (From OE-Core rev: ca798705b3b8fa9b2f6467970e9bda9d9433986c) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Fix __sighandler_t for mipsKhem Raj2017-03-221-14/+17
| | | | | | | | | | | | | | | | | mips definition of kernel_sigaction was added later and the patch did not apply to mips part which ended in ltp failing to compile on mips parts In file included from rt_sigaction01.c:42:0: ../../../../include/lapi/rt_sigaction.h:39:2: error: unknown type name '__sighandler_t' __sighandler_t k_sa_handler; ^~~~~~~~~~~~~~ (From OE-Core rev: 74f4dcfd447fb528ab230e67e3f7ab37e8f93898) 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 20170116Dengke Du2017-03-0129-1809/+306
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Upgrade ltp from 20160126 to 20170116. 2. Delete some patches because these have been integrated in upstream. 0001-ltp-Don-t-link-against-libfl.patch 0006-sendfile-Use-off64_t-instead-of-__off64_t.patch 0007-replace-SIGCLD-with-SIGCHLD.patch 0009-Guard-error.h-with-__GLIBC__.patch 0012-fsstress.c-Replace-__int64_t-with-int64_t.patch 0013-include-fcntl.h-for-getting-O_-definitions.patch 0014-hyperthreading-Include-sys-types.h-for-pid_t-definit.patch 0015-mincore01-Rename-PAGESIZE-to-pagesize.patch 0016-ustat-Change-header-from-ustat.h-to-sys-ustat.h.patch 0017-replace-sigval_t-with-union-sigval.patch 0019-tomoyo-Replace-canonicalize_file_name-with-realpath.patch 0022-include-sys-types.h.patch 0029-trace_shed-Fix-build-with-musl.patch 0031-vma03-fix-page-size-offset-as-per-page-size-alignmen.patch 0032-regen.sh-Include-asm-unistd.h-explicitly.patch 0037-containers-netns_netlink-Avoid-segmentation-fault.patch 0038-run-posix-option-group-test-replace-CWD-qith-PWD.patch 0040-containers-userns05-use-unsigned-int-for-ns-id.patch 3. Add new patch based on Khem Raj's 0007-replace-SIGCLD-with-SIGCHLD.patch 0001-add-_GNU_SOURCE-to-pec_listener.c.patch 4. Add new patches fix building errors with musl: 0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch 0007-fix-__WORDSIZE-undeclared-when-building-with-musl.patch 0009-fix-redefinition-of-struct-msgbuf-error-building-wit.patch Add new patch fix building errors, when the distro is poky-lsb 0012-fix-faccessat01.c-build-fails-with-security-flags.patch 5. Modify some patches because the upstream contains changes, those patches maybe failed when they apply to the new version of ltp. 0011-Rename-sigset-variable-to-sigset1.patch 0027-sysconf01-Use-_SC_2_C_VERSION-conditionally.patch 0030-lib-Use-PTHREAD_MUTEX_RECURSIVE-in-place-of-PTHREAD_.patch 0035-fix-test_proc_kill-hang.patch 6. Rename and modify this patch. fcntl-fix-the-time-def-to-use-time_t.patch to 0039-fcntl-fix-the-time-def-to-use-time_t.patch 7. The new version of ltp add the checking for ksh and csh, we doesn't support ksh and csh in oe-core, so remove the checking files when the system executes do_install function. (From OE-Core rev: 25c71d320198d41cf760dbea96840d352681dced) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Fix containers/userns05 failure for lib32He Zhe2017-02-153-1/+62
| | | | | | | | | | | | | | | | | | | Backport a patch to fix userns05 case: <<<test_output>>> user_namespace5 1 TFAIL : userns05.c:95: userns:parent should be not equal to cpid2 user_namespace5 1 TFAIL : userns05.c:95: userns:parent should be not equal to cpid2 user_namespace5 0 TINFO : Child process returned TPASS user_namespace5 0 TINFO : Child process returned TPASS user_namespace5 0 TINFO : Child process returned TFAIL incrementing stop Rename the previous patch to add a number prefix (From OE-Core rev: b96c5d18839cff345a3a2c4b952dd62aad119121) Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: fix build for x32Christopher Larson2017-01-092-0/+29
| | | | | | | | | | | We need to use the correct time() definition with time_t rather than a long, since long is 32-bit on x32. (From OE-Core rev: 520cee660efa60e44dbf004a617c130597be6cae) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp/posix: replace CWD with PWDJackie Huang2016-12-172-0/+45
| | | | | | | | | | | | | | | | Backport a patch to replace CWD with PWD to avoid error messages in test results: basename: missing operand Try 'basename --help' for more information. (From OE-Core rev: 8665ccb5c3cefca43898caea06198e79504fdeff) (From OE-Core rev: 527437174bf74b2205dd5b48cbb64a54d7698162) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: avoid segmentation fault in netns testsJackie Huang2016-12-173-1/+52
| | | | | | | | | | | | | | | | * backport a patch to avoid segmentation fault in netns tests. * rename previous patch to have ordered prefix number. (From OE-Core rev: 67f67da5d673ad60d3d3138ba32822679f565267) (From OE-Core rev: c8f7c26148a926c6e49ab95a18c4702204e57551) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Reduce duplication in MIPS variants.Zubair Lutfullah Kakakhel2016-11-231-1/+1
| | | | | | | | | | | Reduce duplication in MIPS variants now that the MACHINEOVERRIDES variable is defined (From OE-Core rev: 6be164d691291a297c8211bdb92f095bbfbd22fe) Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: remove useless script STPfailure_report.plMingli Yu2016-09-031-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* meta: update patch metadataRoss Burton2016-07-082-2/+2
| | | | | | | | | 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>
* ltp: Fixes security string printf on testcases/network/nfsv4/acl/acl1.cAníbal Limón2016-05-152-0/+42
| | | | | | | | | [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-032-0/+24
| | | | | | | (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-032-0/+44
| | | | | | | (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-253-23/+71
| | | | | | | | | | | | | | | | | 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-1437-410/+2705
| | | | | | | | | | | | | | 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: Add rdep on lddKhem Raj2016-01-261-1/+1
| | | | | | | | | | | | | | 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>
* ltp: Upgrade 20150420 -> 20150903Fan Xin2015-12-162-17/+27
| | | | | | | | | | | | | | 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>
* meta: Drop now pointless manual -dbg packagingRichard Purdie2015-12-161-10/+0
| | | | | | | | | 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>
* ltp: replace 'inline' with 'static inline' for gcc 5.xKai Kang2015-09-282-0/+70
| | | | | | | | | | | | | | | | | | | | | 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: Add inhibit of splitYue Tao2015-07-091-0/+1
| | | | | | | | | | | | 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>
* ltp: vma03 fix the alginment of page sizeChuang Dong2015-07-022-0/+35
| | | | | | | | | | | | | | 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: 20150119 -> 20150420Robert Yang2015-04-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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>
* 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>