diff options
author | Kai Kang <kai.kang@windriver.com> | 2018-11-27 03:09:37 -0500 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-11-27 11:13:36 -0800 |
commit | 49466c7917fbc6999ca6cd0651e092147f9e8329 (patch) | |
tree | 01107e8061ee751283efff8249e0588a181f311d /meta-networking/recipes-protocols | |
parent | 599feb105acb9d4aa46d77f527be7b7504846f8c (diff) | |
download | meta-openembedded-49466c7917fbc6999ca6cd0651e092147f9e8329.tar.gz |
net-snmp: inherit ptest
Inherit ptest for net-snmp to create ${PN}-ptest. Update run-ptest as
well to avoid only could be run in the same directory.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-protocols')
-rwxr-xr-x | meta-networking/recipes-protocols/net-snmp/net-snmp/run-ptest | 3 | ||||
-rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/run-ptest b/meta-networking/recipes-protocols/net-snmp/net-snmp/run-ptest index 2334217bc..76514c202 100755 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp/run-ptest +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp/run-ptest | |||
@@ -1,4 +1,5 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | cd testing | 3 | workdir=$(dirname `realpath $0`) |
4 | cd ${workdir}/testing | ||
4 | ./RUNTESTS | 5 | ./RUNTESTS |
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb index 7794f3880..0250743e7 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb | |||
@@ -33,7 +33,7 @@ SRC_URI[sha256sum] = "c6291385b8ed84f05890fe4197005daf7e7ee7b082c2e390fa114a9477 | |||
33 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/net-snmp/files/net-snmp/" | 33 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/net-snmp/files/net-snmp/" |
34 | UPSTREAM_CHECK_REGEX = "/net-snmp/(?P<pver>\d+(\.\d+)+)/" | 34 | UPSTREAM_CHECK_REGEX = "/net-snmp/(?P<pver>\d+(\.\d+)+)/" |
35 | 35 | ||
36 | inherit autotools-brokensep update-rc.d siteinfo systemd pkgconfig perlnative | 36 | inherit autotools-brokensep update-rc.d siteinfo systemd pkgconfig perlnative ptest |
37 | 37 | ||
38 | EXTRA_OEMAKE = "INSTALL_PREFIX=${D} OTHERLDFLAGS='${LDFLAGS}' HOST_CPPFLAGS='${BUILD_CPPFLAGS}'" | 38 | EXTRA_OEMAKE = "INSTALL_PREFIX=${D} OTHERLDFLAGS='${LDFLAGS}' HOST_CPPFLAGS='${BUILD_CPPFLAGS}'" |
39 | 39 | ||