diff options
author | jbeich <jbeich@FreeBSD.org> | 2015-10-09 23:25:30 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2015-10-09 23:25:30 +0800 |
commit | 03cfb8bf2bffc954d35411a6dfebe1197c7ce2af (patch) | |
tree | 3f7410e10d0aa49fc1bc6fb6058c90e19cd7d9a4 /devel/android-tools-adb-devel | |
parent | b1fcb808c05b3da3375b34b9cc1191aa430c6297 (diff) | |
download | freebsd-ports-gnome-03cfb8bf2bffc954d35411a6dfebe1197c7ce2af.tar.gz freebsd-ports-gnome-03cfb8bf2bffc954d35411a6dfebe1197c7ce2af.tar.zst freebsd-ports-gnome-03cfb8bf2bffc954d35411a6dfebe1197c7ce2af.zip |
devel/android-tools-adb-devel: move python tests into a separate option
Diffstat (limited to 'devel/android-tools-adb-devel')
-rw-r--r-- | devel/android-tools-adb-devel/Makefile | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/devel/android-tools-adb-devel/Makefile b/devel/android-tools-adb-devel/Makefile index c52d3d6d84e6..e16666424e4c 100644 --- a/devel/android-tools-adb-devel/Makefile +++ b/devel/android-tools-adb-devel/Makefile @@ -20,14 +20,16 @@ MAKE_ENV= FILESDIR="${FILESDIR}" CPPFLAGS+= -DADB_REVISION='\"${DISTVERSIONSUFFIX:S/-g//}-android\"' ALL_TARGET= all -OPTIONS_DEFINE= TEST +OPTIONS_DEFINE= TEST TEST_PYTHON -TEST_GH_PROJECT=platform_development:development -TEST_GH_TAGNAME=${DISTVERSIONFULL:C/-[0-9].*//}-66-ge4cded6:development -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 +TEST_BUILD_DEPENDS= googletest>=1.6.0:${PORTSDIR}/devel/googletest +TEST_ALL_TARGET= adb_test + +TEST_PYTHON_DESC= ${TEST_DESC:S/tests/python &/} +TEST_PYTHON_GH_PROJECT= platform_development:development +TEST_PYTHON_GH_TAGNAME= ${DISTVERSIONFULL:C/-[0-9].*//}-66-ge4cded6:development +TEST_PYTHON_BUILD_DEPENDS=${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock +TEST_PYTHON_USES= python:2.7,build post-patch: slave-post-patch slave-post-patch: @@ -45,6 +47,8 @@ slave-post-patch: pre-install-TEST-on: ${BUILD_WRKSRC}/adb_test + +pre-install-TEST_PYTHON-on: # XXX python tests may leave behind running adb server # test_adb.py remains in core repository for some reason ${SETENV} PATH=${BUILD_WRKSRC}:${PATH} \ |