]> code.ossystems Code Review - openembedded-core.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 11:02:41 +0000 (12:02 +0100)
commitdcd674181f31a12c100f91cf6a1c3f3d52b775a2
tree334a4095651c435b58ef5bec7efc4f7040683672
parent94e3fdff76452d3acde42b164d3ffa6b72540a40
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]

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