diff options
| -rw-r--r-- | meta/recipes-kernel/lttng/lttng-tools_2.3.0.bb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.3.0.bb b/meta/recipes-kernel/lttng/lttng-tools_2.3.0.bb index 4322027d7d..f2a43b4cb5 100644 --- a/meta/recipes-kernel/lttng/lttng-tools_2.3.0.bb +++ b/meta/recipes-kernel/lttng/lttng-tools_2.3.0.bb | |||
| @@ -33,3 +33,22 @@ FILES_${PN}-dbg += "${libdir}/lttng/libexec/.debug" | |||
| 33 | # the libexec insane test so skip it. | 33 | # the libexec insane test so skip it. |
| 34 | INSANE_SKIP_${PN} = "libexec" | 34 | INSANE_SKIP_${PN} = "libexec" |
| 35 | INSANE_SKIP_${PN}-dbg = "libexec" | 35 | INSANE_SKIP_${PN}-dbg = "libexec" |
| 36 | |||
| 37 | |||
| 38 | do_install_ptest () { | ||
| 39 | chmod +x ${D}/${libdir}/${PN}/ptest/tests/utils/utils.sh | ||
| 40 | for i in `find ${D}/${libdir}/${PN}/ptest -perm /u+x -type f`; do | ||
| 41 | sed -e "s:\$TESTDIR.*/src/bin/lttng/\$LTTNG_BIN:\$LTTNG_BIN:" \ | ||
| 42 | -e "s:\$TESTDIR/../src/bin/lttng-sessiond/\$SESSIOND_BIN:\$SESSIOND_BIN:" \ | ||
| 43 | -e "s:\$DIR/../src/bin/lttng-sessiond/\$SESSIOND_BIN:\$SESSIOND_BIN:" \ | ||
| 44 | -e "s:\$TESTDIR/../src/bin/lttng-consumerd/:${libedir}/lttng/libexec/:" \ | ||
| 45 | -e "s:\$DIR/../src/bin/lttng-consumerd/:${libdir}/lttng/libexec/:" \ | ||
| 46 | -e "s:\$TESTDIR/../src/bin/lttng-relayd/\$RELAYD_BIN:\$RELAYD_BIN:" \ | ||
| 47 | -i $i | ||
| 48 | done | ||
| 49 | |||
| 50 | sed -e "s:src/bin/lttng-sessiond:$bindir:" \ | ||
| 51 | -e "s:src/bin/lttng-consumerd:${libexecdir}/libexec/:" \ | ||
| 52 | -i ${D}/${libdir}/${PN}/ptest/tests/regression/run-report.py | ||
| 53 | |||
| 54 | } | ||
