Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 2015 15:42:30 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397251 - head/devel/android-tools-simpleperf/files
Message-ID:  <201509181542.t8IFgUrD023712@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri Sep 18 15:42:29 2015
New Revision: 397251
URL: https://svnweb.freebsd.org/changeset/ports/397251

Log:
  devel/android-tools-simpleperf: add libbase tests

Added:
  head/devel/android-tools-simpleperf/files/patch-base_stringprintf__test.cpp   (contents, props changed)
Modified:
  head/devel/android-tools-simpleperf/files/Makefile   (contents, props changed)

Modified: head/devel/android-tools-simpleperf/files/Makefile
==============================================================================
--- head/devel/android-tools-simpleperf/files/Makefile	Fri Sep 18 15:42:10 2015	(r397250)
+++ head/devel/android-tools-simpleperf/files/Makefile	Fri Sep 18 15:42:29 2015	(r397251)
@@ -23,7 +23,6 @@ SRCS+=	thread_tree.cpp
 SRCS+=	utils.cpp
 
 TEST_SRCS+=	command_test.cpp
-TEST_SRCS+=	gtest_main.cpp
 TEST_SRCS+=	record_test.cpp
 TEST_SRCS+=	sample_tree_test.cpp
 
@@ -33,6 +32,12 @@ SRCS+=	file.cpp
 SRCS+=	logging.cpp
 SRCS+=	stringprintf.cpp
 SRCS+=	strings.cpp
+TEST_SRCS+= file_test.cpp
+TEST_SRCS+= logging_test.cpp
+TEST_SRCS+= stringprintf_test.cpp
+TEST_SRCS+= strings_test.cpp
+TEST_SRCS+= test_main.cpp
+TEST_SRCS+= test_utils.cpp
 
 # required by base
 .PATH:	${.CURDIR}/../liblog

Added: head/devel/android-tools-simpleperf/files/patch-base_stringprintf__test.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/android-tools-simpleperf/files/patch-base_stringprintf__test.cpp	Fri Sep 18 15:42:29 2015	(r397251)
@@ -0,0 +1,10 @@
+--- base/stringprintf_test.cpp.orig	2015-08-12 23:28:08 UTC
++++ base/stringprintf_test.cpp
+@@ -18,6 +18,7 @@
+ 
+ #include <gtest/gtest.h>
+ 
++#include <errno.h>
+ #include <string>
+ 
+ TEST(StringPrintfTest, HexSizeT) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509181542.t8IFgUrD023712>