diff options
author | jbeich <jbeich@FreeBSD.org> | 2015-09-18 23:43:13 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2015-09-18 23:43:13 +0800 |
commit | 8143f74e009b2464ceee73f5e0bc7a37e039e775 (patch) | |
tree | da0dcce8d35c1dc39031f61077a760c3b223ad90 | |
parent | 0dfdab4a371cdd83ca12b2c73fa3fcf6be4056bd (diff) | |
download | freebsd-ports-gnome-8143f74e009b2464ceee73f5e0bc7a37e039e775.tar.gz freebsd-ports-gnome-8143f74e009b2464ceee73f5e0bc7a37e039e775.tar.zst freebsd-ports-gnome-8143f74e009b2464ceee73f5e0bc7a37e039e775.zip |
devel/android-tools-adb-devel: add python tests
-rw-r--r-- | devel/android-tools-adb-devel/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/android-tools-adb-devel/Makefile b/devel/android-tools-adb-devel/Makefile index 9c243b1a7582..45b8ca362459 100644 --- a/devel/android-tools-adb-devel/Makefile +++ b/devel/android-tools-adb-devel/Makefile @@ -22,10 +22,16 @@ ALL_TARGET= all OPTIONS_DEFINE= TEST -TEST_BUILD_DEPENDS=googletest>=1.6.0:${PORTSDIR}/devel/googletest +TEST_BUILD_DEPENDS=googletest>=1.6.0:${PORTSDIR}/devel/googletest \ + ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock +TEST_USES= python:2.7,build TEST_ALL_TARGET=adb_test pre-install-TEST-on: ${BUILD_WRKSRC}/adb_test + PATH=${BUILD_WRKSRC}:${PATH} PYTHONPATH=${WRKSRC} \ + ${PYTHON_CMD} ${BUILD_WRKSRC}/test_adb.py + PATH=${BUILD_WRKSRC}:${PATH} PYTHONPATH=${WRKSRC} \ + ${PYTHON_CMD} ${BUILD_WRKSRC}/test_device.py .include "${MASTERDIR}/Makefile" |