diff options
| -rw-r--r-- | meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb b/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb index e3a0c2eb60..b47d59e2d7 100644 --- a/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb +++ b/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb | |||
| @@ -85,6 +85,21 @@ do_install_append () { | |||
| 85 | do_compile_ptest () { | 85 | do_compile_ptest () { |
| 86 | for x in `find ${B} -name Makefile -exec grep -l buildtest-TESTS {} \;`; do | 86 | for x in `find ${B} -name Makefile -exec grep -l buildtest-TESTS {} \;`; do |
| 87 | dir=`dirname ${x}` | 87 | dir=`dirname ${x}` |
| 88 | case $dir in | ||
| 89 | *cpp/t) ;; | ||
| 90 | *snmp_bc/t) if ${@bb.utils.contains('PACKAGECONFIG','snmp-bc','true','false',d)} | ||
| 91 | then | ||
| 92 | oe_runmake -C ${dir} buildtest-TESTS | ||
| 93 | fi | ||
| 94 | ;; | ||
| 95 | *) oe_runmake -C ${dir} buildtest-TESTS ;; | ||
| 96 | esac | ||
| 97 | done | ||
| 98 | } | ||
| 99 | |||
| 100 | ack_do_compile_ptest () { | ||
| 101 | for x in `find ${B} -name Makefile -exec grep -l buildtest-TESTS {} \;`; do | ||
| 102 | dir=`dirname ${x}` | ||
| 88 | upper=`dirname ${dir}` | 103 | upper=`dirname ${dir}` |
| 89 | if [ `basename ${upper}` != "cpp" ]; then | 104 | if [ `basename ${upper}` != "cpp" ]; then |
| 90 | oe_runmake -C ${dir} buildtest-TESTS | 105 | oe_runmake -C ${dir} buildtest-TESTS |
