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/net-snmp/net-snmp | |
parent | 599feb105acb9d4aa46d77f527be7b7504846f8c (diff) | |
download | meta-openembedded-contrib-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/net-snmp/net-snmp')
-rwxr-xr-x | meta-networking/recipes-protocols/net-snmp/net-snmp/run-ptest | 3 |
1 files changed, 2 insertions, 1 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 2334217bc0..76514c202e 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 @@ #!/bin/sh -cd testing +workdir=$(dirname `realpath $0`) +cd ${workdir}/testing ./RUNTESTS |