* [PATCH 0/1] pTest-strace fail fixed
@ 2016-02-23 7:58 Dengke Du
2016-02-23 7:59 ` [PATCH 1/1] pTest-strace fails fixed Dengke Du
0 siblings, 1 reply; 2+ messages in thread
From: Dengke Du @ 2016-02-23 7:58 UTC (permalink / raw)
Cc: openembedded-core
The following changes since commit 4e5e501155a21fe64a470c626b3afe6d9748308e:
bitbake: data_smart: Drop default expand=False to getVarFlag [API change] (2016-02-18 07:48:00 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib dengke/pTest-strace-fail-fixed
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=dengke/pTest-strace-fail-fixed
Dengke Du (1):
pTest-strace fails fixed
meta/recipes-devtools/strace/strace_4.11.bb | 1 +
1 file changed, 1 insertion(+)
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] pTest-strace fails fixed
2016-02-23 7:58 [PATCH 0/1] pTest-strace fail fixed Dengke Du
@ 2016-02-23 7:59 ` Dengke Du
0 siblings, 0 replies; 2+ messages in thread
From: Dengke Du @ 2016-02-23 7:59 UTC (permalink / raw)
Cc: openembedded-core
When run the strace ptest on the target, the test files located in the "/usr/lib/strace/ptest/tests",
but the run-test script use the path "srcdir = ../../strace-*/tests"to find the necessary files, so it
can't find the necessary files, it fails. So change the variable srcdir, replace the strace-* to ptest
when do the do_install_ptest() function using the following:
sed -i -e '/^src/s/strace.*[1-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile
Signed-off-by: Dengke Du <dengke.du@windriver.com>
---
meta/recipes-devtools/strace/strace_4.11.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-devtools/strace/strace_4.11.bb b/meta/recipes-devtools/strace/strace_4.11.bb
index 3e542ca..51ec5b5 100644
--- a/meta/recipes-devtools/strace/strace_4.11.bb
+++ b/meta/recipes-devtools/strace/strace_4.11.bb
@@ -41,6 +41,7 @@ do_compile_ptest() {
do_install_ptest() {
oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR}
+ sed -i -e '/^src/s/strace.*[1-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile
}
BBCLASSEXTEND = "native"
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-23 7:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-23 7:58 [PATCH 0/1] pTest-strace fail fixed Dengke Du
2016-02-23 7:59 ` [PATCH 1/1] pTest-strace fails fixed Dengke Du
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox