]> code.ossystems Code Review - openembedded-core.git/commit
ltp: Fixing determinism issues
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 1 Mar 2021 21:28:58 +0000 (21:28 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Mar 2021 20:35:08 +0000 (20:35 +0000)
commit0f51f9a37e5d058bce28cfe7b9a32a895f83c091
tree6806273d7e85bc9f6b235445a2e1ccc0c02bf831
parentffc4de47988ccf7568eecc8a27e8964beeaaacfb
ltp: Fixing determinism issues

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/reproducible.py
meta/recipes-extended/ltp/ltp/determinism.patch [new file with mode: 0644]
meta/recipes-extended/ltp/ltp_20210121.bb