svn commit: r344585 - head/www/chromium

Rene Ladan rene at FreeBSD.org
Sun Feb 16 15:26:00 UTC 2014


Author: rene
Date: Sun Feb 16 15:25:59 2014
New Revision: 344585
URL: http://svnweb.freebsd.org/changeset/ports/344585
QAT: https://qat.redports.org/buildarchive/r344585/

Log:
  - Move test-related targets to their own file, Makefile.tests
  - Remove a post-patch target already handled by files/

Added:
  head/www/chromium/Makefile.tests   (contents, props changed)
Modified:
  head/www/chromium/Makefile

Modified: head/www/chromium/Makefile
==============================================================================
--- head/www/chromium/Makefile	Sun Feb 16 15:19:06 2014	(r344584)
+++ head/www/chromium/Makefile	Sun Feb 16 15:25:59 2014	(r344585)
@@ -131,17 +131,7 @@ LIB_DEPENDS+=	libexecinfo.so:${PORTSDIR}
 .endif
 
 .if ${PORT_OPTIONS:MTEST}
-TEST_TARGETS=	base_unittests \
-		crypto_unittests \
-		cacheinvalidation_unittests \
-		gpu_unittests \
-		sync_unit_tests \
-		media_unittests \
-		printing_unittests \
-		sql_unittests \
-		net_unittests \
-		content_unittests
-EXCLUDED_TESTS=	GpuDriverBugListTest.CurrentDriverBugListValidation
+.include "Makefile.tests"
 ALL_TARGET+=	${TEST_TARGETS}
 DISTFILES+=	${PORTNAME}-${DISTVERSION}-testdata${EXTRACT_SUFX}:testdata
 .endif
@@ -206,8 +196,6 @@ post-patch:
 		${WRKSRC}/third_party/WebKit/Source/build/scripts/scripts.gypi
 	@${REINPLACE_CMD} -e "s|'../courgette/courgette.gyp:courgette_lib',||" \
 		${WRKSRC}/chrome/chrome_tests_unit.gypi
-	@${REINPLACE_CMD} -e "s|linux|freebsd|" \
-		${WRKSRC}/tools/gyp/pylib/gyp/generator/make.py
 	@${REINPLACE_CMD} -e "s|is_linux|(is_linux or is_bsd)|" \
 		${WRKSRC}/chrome/browser/browser_resources.grd \
 		${WRKSRC}/chrome/app/theme/theme_resources.grd \
@@ -227,7 +215,7 @@ do-configure:
 test regression-test: build
 .for t in ${TEST_TARGETS}
 	cd ${WRKSRC}/out/${BUILDTYPE} && ${SETENV} LC_ALL=en_US.UTF-8 \
-		./${t} --gtest_filter=-${EXCLUDED_TESTS}
+		./${t} --gtest_filter=-${EXCLUDE_${t}:ts:} || ${TRUE}
 .endfor
 
 do-install:

Added: head/www/chromium/Makefile.tests
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/chromium/Makefile.tests	Sun Feb 16 15:25:59 2014	(r344585)
@@ -0,0 +1,23 @@
+$FreeBSD$
+
+TEST_TARGETS=	base_unittests \
+		crypto_unittests \
+		cacheinvalidation_unittests \
+		gpu_unittests \
+		sync_unit_tests \
+		printing_unittests \
+		sql_unittests \
+		content_unittests \
+		cc_unittests \
+		ui_unittests \
+		url_unittests \
+		compositor_unittests \
+		ipc_tests \
+		dbus_unittests \
+		net_unittests \
+		media_unittests
+# browser_tests: missing test file?
+# unit_tests: missing test file?
+# chromedriver_unittests: does not build
+# chromedriver_tests: does not build
+# telemetry_unittests: unknown ninja target


More information about the svn-ports-all mailing list