summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp
Commit message (Collapse)AuthorAgeFilesLines
* native/nativesdk: Stop overriding unprefixed *FLAGS variablesRichard Purdie2024-07-011-2/+2
| | | | | | | | | | | | | | | | | | | | We're currently encouraging an "arms race" with the FLAGS variables since a recipe might want to set a specific flag for all variants but to do so, += won't work due to the assignment in the native/nativesdk class files. This means recipes are using append. Since the default variables are constructed out of TARGET_XXX variables and we redefine these, there is no need to re-define the un-prefixed variables. If we drop that, the += appends and similar work and recipes don't have to resort to append. Change the classes and cleanup a number of recipes to adapt to the change. This change will result in some flags appearing to some native/nativesdk variants but that is probably what was originally expected anyway. (From OE-Core rev: a157b2f9d93428ca21265cc860a3b58b3698b3aa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Fix build break with clang on risv64Khem Raj2024-06-122-0/+33
| | | | | | | (From OE-Core rev: 760d181ca2fd35f2f46d61e3a47f266e35b17efe) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: upgrade 20240129 -> 20240524Yi Zhao2024-06-044-97/+4
| | | | | | | | | | | | ChangeLog: https://github.com/linux-test-project/ltp/releases/tag/20240524 Drop backport patches. (From OE-Core rev: 65013262019b013d88cf7f191b1d9ce6de615347) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Fix build with GCC-14Khem Raj2024-05-132-0/+55
| | | | | | | | (From OE-Core rev: 5d3bea7f817aee6eb053eccc22f5c35f8a3d3668) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: add iputils-ping6 to RDEPENDSXiangyu Chen2024-04-301-0/+1
| | | | | | | | | | | | | | | According to the LTP documents[1], it using ping6 from iputils which support "-I" option to bind the interface[2]. Ref: [1] https://github.com/linux-test-project/ltp/commit/6f97789c [2] https://github.com/linux-test-project/ltp/commit/64b11656 (From OE-Core rev: 0b89bc2041f670af625829d061ce79e0840ac116) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: fix missing connectors tests in scenario_groups/defaultXiangyu Chen2024-03-222-0/+35
| | | | | | | | | | Upstream moved the connectors tests to kernel_misc group but didn't update the group index, this cause test kernel by group report error. (From OE-Core rev: 360c6230f8466975b2907d23c056110296c4e68d) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Try re-enabling problematic testRichard Purdie2024-02-062-28/+0
| | | | | | | | | | The proc01 test used to hang when reading /proc/kmsg. This issue could have been a number of issues which were fixed in the meantime. Try re-enabling the test to see if the issue is still present. (From OE-Core rev: 8832ff65ba91587fbe739173bb2d33119a1c6f1b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Update to 20240129Petr Vorel2024-02-053-33/+4
| | | | | | | | | | | | | | | | | | | | Removed patch accepted upstream as 8c53cc947 ("testcases/kernel/syscalls/fcntl: define _LARGEFILE64_SOURCE") Rebase runtest/mm patch. [RP: Drop connectors group since dropped upstream: https://github.com/linux-test-project/ltp/commit/9b642d89c0bcf5885b051c2d5768fa94b61d86cb Drop fsx too: https://github.com/linux-test-project/ltp/commit/fb2b6a0b3c840aa80229acf4360b7bdc3ced5edb ] (From OE-Core rev: b2867cac5ac58862469f0c6c056607abeca0b0d0) Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: upgrade 20230516 -> 20230929Wang Mingyu2023-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============ -New tests -Increased coverage -ebizzy benchmark counter increment races and overflows were fixed -A few more testcases were converted to guarded buffers that is data passed by pointer to kernel are immediatelly following a PROT_NONE page and followed by canaries to catch off-by-one errors -Tests that modprobe kernel modules are now skipped when secure boot is enabled on x86 and ppc64le -ioprio tests now use IOPRIO_PRIO_NUM instead of hardcoded value to check for prio range -35 testcases were converted to the new test library -The usual amount of fixes and cleanups (From OE-Core rev: 4f19f8b0305ecf17964b73b7fd65b0b91d56a39c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Use bfd linker for KVM_LD as well when ld-is-lldKhem Raj2023-07-291-1/+1
| | | | | | | (From OE-Core rev: 808934304ce997c08152bf620071dfdce72cc845) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Add kernel loopback module dependencyRichard Purdie2023-07-291-0/+2
| | | | | | | | | | | The qemuarm64 kernel builds loopback device support as a module and it isn't included in the image leading to ltp test failures on that platform. Add the missing kernel module RRECOMMENDS to avoid this and fix those errors. (From OE-Core rev: 8691020f33a644d52b7d867376ef3c85be84abf9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Use bfd linker when lld is distro linker defaultKhem Raj2023-07-271-0/+1
| | | | | | | | (From OE-Core rev: 3f6ab1fea2d07a4e553bb67e3055133ff38dd68c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: add RDEPENDS on findutilsRoss Burton2023-07-211-0/+1
| | | | | | | | | | With busybox find some of the test script fails, so depend on GNU find. (From OE-Core rev: 2d1b1987ef927b33b799bb6e6805a1fdd8d92921) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: upgrade 20230127 -> 20230516Alexander Kanavin2023-06-162-1/+30
| | | | | | | (From OE-Core rev: 0953f22436d7ef03a21c2c78719c99c49df5e22c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: upgrade 20220930 -> 20230127Alexander Kanavin2023-02-092-428/+1
| | | | | | | | (From OE-Core rev: 536be6a0041a8a5add8ef7f7195d3bee677246c3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Fix largefile supportKhem Raj2022-12-212-0/+427
| | | | | | | | (From OE-Core rev: 1ba62a51787b5ce39354c39964a4a0f8177b3ffe) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: upgrade 20220527 -> 20220930Alexander Kanavin2022-11-0813-801/+1
| | | | | | | | | | | Do not install open posix testsuite by hand, as it is now handled upstream. (From OE-Core rev: 2a7e6a4176038770829d060bb8ec5606dc016a87) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Update list of tests not buildable on muslPetr Vorel2022-09-051-3/+1
| | | | | | | | | | | | | | | | | These tests are working on musl, thus not deleted: * getcontext01.c fixed for musl during conversion to the new API in 20220527 (commit 0f519d0da) * ebizzy-0.3 fixed in 20200930 (commit 967612c45) (From OE-Core rev: 0f645327f6df8c86fe3d6e25f7c88c5b5ccd55e5) Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Remove -mfpmath=sse on x86-64 tooKhem Raj2022-08-301-0/+1
| | | | | | | | | | | Fixes build errors seen with clang/musl like on x86 error: the 'sse' unit is not supported with this instruction set (From OE-Core rev: f99bc43c4564b8a7b2047c5c1009a6eb74b393ea) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Adjust types to match create_fifo_thread returnKhem Raj2022-08-252-0/+37
| | | | | | | | | | Fixes build on musl (From OE-Core rev: 57cac75d09ba05ccd3f14302986b3e2f14d65780) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Fix sys/mount.h and linux/mount.h conflictKhem Raj2022-08-174-31/+133
| | | | | | | | | backport needed patches (From OE-Core rev: 4a8c73e8fe7ab7e1f06e9dbb32114447b20daa47) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Fix sys/mount.h conflicts needed for glibc 2.36+ compileKhem Raj2022-08-082-0/+31
| | | | | | | (From OE-Core rev: a9136a30c56ff1d63043558b9cbaaae3e302aef7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: fix build with ld-is-gold in DISTRO_FEATURESMartin Jansa2022-08-024-14/+128
| | | | | | | | | | | | | | | | | | | | | | | | | * backport one more commit for LD call which conflicts with the 0001-kvm-use-LD-instead-of-hardcoding-ld.patch we already had and replace this 2nd patch with the rebased version which is now merged upstream * then backport additional patch which introduces KVM_LD variable which we can set to use .bfd suffix in LD when ld-is-gold is in DISTRO_FEATURES to work around gold incompatibility reported: https://github.com/linux-test-project/ltp/pull/948#issuecomment-1193138866 https://lists.openembedded.org/g/openembedded-core/message/168193 http://errors.yoctoproject.org/Errors/Details/663094/ x86_64-oe-linux-ld --sysroot=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ltp/20220527-r0/recipe-sysroot -z noexecstack -r -T /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ltp/20220527-r0/git/testcases/kernel/kvm/linker/payload.lds --oformat=elf64-x86-64 -o kvm_pagefault01-payload.o kvm_pagefault01-payload.bin x86_64-oe-linux-ld: error: kvm_pagefault01-payload.bin:1:1: invalid character make: *** [Makefile:53: kvm_pagefault01-payload.o] Error 1 (From OE-Core rev: ace41f64c7d617852bdfca736cefa0a470598af7) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Add post release runtime fixesPetr Vorel2022-07-287-0/+472
| | | | | | | | | | | | Backport various post 20220527 release runtime fixes: * The concept of max runtime * tst_test.sh: Cleanup getopts usage * mountns0[1-3]: wait for umount completed in thread_b (From OE-Core rev: 1946833bdcce57250f346db1b8f2f898c2c3244c) Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: fix builds when host ld doesn't know about target ELF formatsRoss Burton2022-07-142-0/+38
| | | | | | | | | | | | The kvm tests use the host ld, which doesn't necessarily know about the target ELF format. It should be using the cross ld we built, so call $(LD) instead. (From OE-Core rev: 4065c5b69830ea81fbde23263ece55f6f12e5d71) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: remove open-posix-testsuite build logsRoss Burton2022-07-091-0/+3
| | | | | | | | | | | We don't need to package the open-posix-testsuite build logs. Typically these are just lines of "SUCCESS" but sometimes there will be compile warnings, which will include build paths. (From OE-Core rev: dc5141b86cfcad0daa56d4b0cac9fd57e83b515a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Remove -mfpmath=sse on x86Khem Raj2022-07-091-0/+1
| | | | | | | | | | Fixes build errors seen with clang error: the 'sse' unit is not supported with this instruction set (From OE-Core rev: 643e40ceaf520f995f6f38449a072e98e26da3b5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: use bfd even when gold is used with ld-is-goldMartin Jansa2022-06-111-0/+6
| | | | | | | | | | | | | * version 20220527 added KVM test infrastructure which currently fails to build with gold due to SORT_NONE in linker script which isn't supported by gold: https://sourceware.org/bugzilla/show_bug.cgi?id=18097 https://github.com/linux-test-project/ltp/commit/3fce2064b54843218d085aae326c8f7ecf3a8c41#diff-39268f0855c634ca48c8993fcd2c95b12a65b79e8d9fa5ccd6b0f5a8785c0dd6R36 (From OE-Core rev: 674fd0c423f3a8911d73b4319ab23bd9b3f1bbac) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: upgrade 20220121 -> 20220527Alexander Kanavin2022-06-072-30/+1
| | | | | | | | | | Disable stack protection as newly added kvm tests won't build with it. (From OE-Core rev: f231bc2c28226776f0990ec65aa5f95e89021218) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-201-1/+1
| | | | | | | | | | | | | license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Disable proc01 testRichard Purdie2022-02-162-0/+28
| | | | | | | | | | This test has history of hanging on arm trying to read from /proc/kmsg and it has reappeared. Disable the test since hanging autobuilder builds are annoying. I suspect there is a genuine race on ARM somewhere here in the kernel. (From OE-Core rev: e8f5bd9dc35e2da014412bb35fbd2f96d0b1c5a8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: update 20210927 -> 20220121Alexander Kanavin2022-02-016-196/+34
| | | | | | | | | | | | The ltp compliancy parser is rewritten to actually match the logs: they seem to be unstructured, test case names are not printed and the only indication of failure is appearance of FAIL[ED] somewhere. (From OE-Core rev: 52766561dbfee625c89393905a85e10d85f69c6c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Update github.com urls to use httpsRichard Purdie2021-11-031-1/+1
| | | | | | | | | | | | | | Github has announced there will be no more git:// fetching from their servers: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git and they're about to start having brownout periods to encourage people to update. This runs the conversion script over OE-Core to update our urls to use https instead of git. (From OE-Core rev: b37b61e9a1e448a34957db9ae39285d21352552e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Add explict branch to git SRC_URIsRichard Purdie2021-10-301-1/+1
| | | | | | | | | | | | | There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. This update was made with the script added to contrib in this patch which aims to help others convert other layers. (From OE-Core rev: b51c405faf6f8c0365f7533bfaf470d79152a463) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Update to 20210927Petr Vorel2021-10-147-73/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | New patches to fix functionality: * 0002-lib-fix-MemAvailable-parsing.patch * 0003-lapi-rtnetlink.h-Fix-include-guards.patch * 0004-lapi-Create-if_addr.h-and-reuse-it-in-rtnetlink.h.patch * 0005-lapi-if_addr.h-Define-IFA_FLAGS.patch Removed patch from this release * 0001-syscalls-ioctl_ns05.c-ioctl_ns06.c-Fix-too-small-buf.patch Rebased patch * 0001-Remove-OOM-tests-from-runtest-mm.patch * Updated copying (reduced files in 5eff445d4 ("Reduce LICENCE/COPYING files")) * Updated removed musl incompatible files in remove_broken_musl_sources() (process.c was removed in 926d3b906 ("sched: Remove process.c")), also update link to CI file. [RP: Fixed Upstream-Status lines in patches] (From OE-Core rev: c227daf3c40666ea8f2b28bd1006633f5efb4692) Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: backport ioctl_ns05 fix from upstreamPaul Gortmaker2021-08-262-0/+60
| | | | | | | | | | | This false positive keeps showing up in our testing but the fix isn't yet a part of a tagged release, and it is probably too late for doing an uprev for the fall release anyway. (From OE-Core rev: f216d7e3e7eb94f53a69e25c805344b04ada60f5) Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-021-10/+10
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Reinstate 'hanging' tests for evaluationRichard Purdie2021-06-172-46/+0
| | | | | | | | | | We think we've found the root cause of the ltp hangs as a cgroup kernel fs bug introduced in 5.1 and now fixed in linux-yocto. Reinstate these tests and see if any issues recur. (From OE-Core rev: 59d0df4ee3448ce5d5bcc03008f3e239003f9d79) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Update to 20210524Petr Vorel2021-05-277-936/+1
| | | | | | | | | | | | | | | | | | | Remove patches accepted in this upstream release * determinism.patch (45530792a, 01fefa08c) * libswapon.patch (2b64c727f) * 0001-open_posix_testsuite-generate-makefiles.sh-Avoid-inc.patch (f38172209) * 0002-Makefile-Avoid-wildcard-determinism-issues.patch (edf60cf6a) * 0003-syscalls-swapon-swapoff-Move-common-library-to-libs.patch (ac140ed58) Removed (test rewritten to new API) * 0007-Fix-test_proc_kill-hanging.patch (From OE-Core rev: d36bd5a532d38c786b87ec15f0eec1d849487fa5) Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Disable problematic tests causing autobuilder hangsRichard Purdie2021-05-222-0/+46
| | | | | | | | | | We've seen three hangs in cgroup_xattr and two in proc01 so far. The new plan is just to disable any tests seen to hang. I've had enough of these causing problems on our testing infrastructure. (From OE-Core rev: 0cc8d4e27e5d3024e35ad877622f32f9bb4819a4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Filter out -ffile-prefix-mapKhem Raj2021-05-011-0/+1
| | | | | | | | | | ffile-prefix-map is also needed for reproduble builds and when introduced can be handled (From OE-Core rev: 1f8132450b0192ad0c9f35f8b5dbac186c240e29) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Replace musl patches with do_patch[postfuncs]Petr Vorel2021-05-013-116/+21
| | | | | | | | | | | MUSL related build fixes are not going to be upstreamed. They just not compile broken files, thus replace them with upstream solution for CI: just deleting files for musl (easier to maintain). (From OE-Core rev: c781677fd5f4e15bde17114468d9f66ba5dc38a2) Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: fix empty ltp-dev packageJonas Höppner2021-04-181-1/+1
| | | | | | | | | | | | | Currently the headers are not installed and the ltp-dev package is empty. This patch adds an include-install make target in the do_install step to install them in sysroot which ends up as a working ltp-dev package. (From OE-Core rev: f6943da4444cd71053650be0c9212bc25ac53137) Signed-off-by: Jonas Höppner <jonas.hoeppner@garz-fricke.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Fix libswapon issue properlyRichard Purdie2021-03-103-8/+502
| | | | | | | | | Replace the libswapon reproducibility workaround with the solution preferred by upstream. (From OE-Core rev: 5fc7d4a4c428d5be7103d8e9345d23038dae4247) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Fix determinism issueRichard Purdie2021-03-104-294/+354
| | | | | | | | | | | | | | | There was still a remaining issue with reporoducibility based upon the make version from the host system. Some versions added whitespace for XXX+=<tab> (e.g. 4.1) and some versions do not (e.g. 4.3). Replace the determinism patches with those submitted upstream both for this issue and the previous one. The LC_ALL setting for sort is dropped as it didn't fix an issue as hoped. (From OE-Core rev: fda178ace0f4acad931c69300f6af54556472a06) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Further extend reproducibility patchRichard Purdie2021-03-092-2/+269
| | | | | | | | | Further issues were highlighted by autobuilder testing, extend the second patch to cover them. (From OE-Core rev: 3cf69fba8542e6ebbdb754c7616cf2ad44eec6ff) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Fix another determinism issueRichard Purdie2021-03-062-2/+27
| | | | | | | | | After the other fixes there remained occasional problems. Fix another makefile sorting problem affecting the disktest binary. (From OE-Core rev: 636f4d1f6ed8a95e3a583abc5904ab8dbc6184af) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Fixing determinism issuesRichard Purdie2021-03-022-0/+56
| | | | | | | | | | | | | | Add a patch adding sorting to a couple of points in the Makefiles which removes most of the determinism issues in ltp. Build swapon before the main build to ensure libswapon.o is built deterministically as it races with swapoff. All issues reported on the upstream mailing list. (From OE-Core rev: 0f51f9a37e5d058bce28cfe7b9a32a895f83c091) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: upgrade 20200930 -> 20210121Wang Mingyu2021-01-302-35/+1
| | | | | | | | | | 0001-ltp-pan-Use-long-long-int-to-print-time_t.patch removed since it is included in 20210121 (From OE-Core rev: b6f49fc60a12ec6c4c1334ca3c266e99c03e81d4) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Fix ltp-pan crash on 32bit arches using 64bit time_tKhem Raj2020-12-212-0/+34
| | | | | | | | | | ltp-pan crashes on riscv32/musl due to shorter width assigned to time_t in printf format (From OE-Core rev: 7839481de7949d59e25113937c0b8901dc5b7425) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>