]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
strace: fix ptests
authorAnuj Mittal <anuj.mittal@intel.com>
Fri, 5 Oct 2018 11:24:01 +0000 (19:24 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 9 Oct 2018 18:04:02 +0000 (19:04 +0100)
commit9b48842834d6ab3939237affe5b19facc72031be
tree302bd021663da2f752f8197dd4eb8e823b74a0c3
parent194ce1539ee89b4e8ddce927623079dbe0b7c56b
strace: fix ptests

* Let automake use parallel test harness which ensures that appropriate
environment variables are actually used.

* Copy generated config.h as part of ptest package and define a variable
in tests Makefile to control the name of target that we'd like to
invoke for tests instead of relying on default value.

* configure relies on tools that are not available in release tarballs
resulting in warnings and failed tests. Get the required information
from available files instead.

* Reduces the count of failing tests to 18 from 35. The rest of
tests fail or get skipped mostly because of missing syscalls. Number of
tests getting skipped can probably be reduced further.

Fixes [YOCTO #12948]

(From OE-Core rev: dcd674181f31a12c100f91cf6a1c3f3d52b775a2)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/strace/strace/Makefile-ptest.patch
meta/recipes-devtools/strace/strace/disable-git-version-gen.patch
meta/recipes-devtools/strace/strace/run-ptest
meta/recipes-devtools/strace/strace_4.24.bb