[openrtm-commit:01541] r2611 - in trunk/OpenRTM-aist/src/lib/rtm/tests: . CORBA_IORUtil CORBA_SeqUtil ConfigAdmin ConnectorListener CorbaConsumer CorbaNaming CorbaPort DataInOutPort ECFactory ExtTrigExecutionContext Factory InPort InPortBase InPortConnector InPortCorbaCdrConsumer InPortCorbaCdrProvider InPortProvider InPortPullConnector InPortPushConnector Manager ManagerConfig ManagerServant ModuleManager NVUtil NamingManager NumberingPolicy ObjectManager OutPort OutPortBase OutPortConnector OutPortCorbaCdrConsumer OutPortCorbaCdrProvider OutPortProvider OutPortPullConnector OutPortPushConnector PeriodicECSharedComposite PeriodicExecutionContext PortAdmin PortBase PublisherFlush PublisherNew PublisherPeriodic RTCUtil RTObject RingBuffer SdoConfiguration SdoOrganization SdoService StateMachine SystemLogger

openrtm @ openrtm.org openrtm @ openrtm.org
2015年 6月 10日 (水) 09:21:11 JST


Author: irie
Date: 2015-06-10 09:21:10 +0900 (Wed, 10 Jun 2015)
New Revision: 2611

Modified:
   trunk/OpenRTM-aist/src/lib/rtm/tests/CORBA_IORUtil/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/CORBA_SeqUtil/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/ConfigAdmin/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/ConnectorListener/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/CorbaConsumer/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/CorbaNaming/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/CorbaPort/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/DataInOutPort/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/ECFactory/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/ExtTrigExecutionContext/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/Factory/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/InPort/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/InPortBase/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/InPortConnector/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/InPortCorbaCdrConsumer/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/InPortCorbaCdrProvider/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/InPortProvider/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/InPortPullConnector/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/InPortPushConnector/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/Manager/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/ManagerConfig/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/ManagerServant/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/ModuleManager/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/NVUtil/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/NamingManager/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/NumberingPolicy/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/ObjectManager/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/OutPort/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortBase/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortConnector/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortCorbaCdrConsumer/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortCorbaCdrProvider/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortProvider/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortPullConnector/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortPushConnector/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/PeriodicECSharedComposite/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/PeriodicExecutionContext/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/PortAdmin/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/PortBase/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/PublisherFlush/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/PublisherNew/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/PublisherPeriodic/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/RTCUtil/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/RTObject/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/RingBuffer/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/SdoConfiguration/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/SdoOrganization/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/SdoService/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/StateMachine/Makefile.am
   trunk/OpenRTM-aist/src/lib/rtm/tests/SystemLogger/Makefile.am
Log:
Update Makefile.am of directory-tests by Irie

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/CORBA_IORUtil/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/CORBA_IORUtil/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/CORBA_IORUtil/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -30,6 +30,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS =                     \
+	-coverage \
 	 -I.                      \
 	-I$(top_builddir)         \
 	-I$(top_builddir)/src/lib/ \
@@ -61,7 +62,7 @@
 	CORBA_IORUtilTests.cpp
 
 CORBA_IORUtilTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-CORBA_IORUtilTests_LDADD   = -lcppunit -lcoil -luuid
+CORBA_IORUtilTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
 
 # Extra sources included distribution
 EXTRA_DIST =               \
@@ -69,14 +70,25 @@
 
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./CORBA_IORUtilTests 
+	/usr/bin/gcov CORBA_IORUtilTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/CORBA_IORUtilTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/CORBA_IORUtilTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/CORBA_IORUtilTests.info 
+
 # do tests
 do-test:
 	./CORBA_IORUtilTests --xml corba_iorutiltests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f CORBA_IORUtilTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -84,3 +96,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/CORBA_SeqUtil/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/CORBA_SeqUtil/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/CORBA_SeqUtil/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	 -I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib/ \
@@ -104,21 +105,32 @@
 	CORBA_SeqUtilTests.cpp
 
 CORBA_SeqUtilTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-CORBA_SeqUtilTests_LDADD   = -lcppunit -lcoil
+CORBA_SeqUtilTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST = \
 	CORBA_SeqUtilTests.cpp \
 	SeqUtilTests.idl
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./CORBA_SeqUtilTests 
+	/usr/bin/gcov CORBA_SeqUtilTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/CORBA_SeqUtilTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/CORBA_SeqUtilTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/CORBA_SeqUtilTests.info 
+
 # do tests
 do-test:
 	./CORBA_SeqUtilTests --xml corba_sequtiltests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f CORBA_SeqUtilTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -126,3 +138,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/ConfigAdmin/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/ConfigAdmin/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/ConfigAdmin/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -23,6 +23,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	 -I. \
 	-I$(top_builddir) \
 	-I$(includedir)   \
@@ -45,21 +46,32 @@
 	ConfigAdminTests.cpp
 
 ConfigAdminTests_LDFLAGS = -L$(libdir)
-ConfigAdminTests_LDADD   = -lcppunit
+ConfigAdminTests_LDADD   = -lcppunit -lgcov
 
 EXTRA_DIST = \
 	ConfigAdminTests.cpp
 
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./ConfigAdminTests 
+	/usr/bin/gcov ConfigAdminTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/ConfigAdminTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/ConfigAdminTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/ConfigAdminTests.info 
+
 # do tests
 do-test:
 	./ConfigAdminTests --xml configadmintests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f ConfigAdminTests
 	rm -f                               \
         *.log *.xml                         \
 	new.conf stored.conf                \
@@ -68,3 +80,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/ConnectorListener/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/ConnectorListener/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/ConnectorListener/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -30,6 +30,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS =                     \
+	-coverage \
 	 -I.                      \
 	-I$(top_builddir)         \
 	-I$(top_builddir)/src/lib/ \
@@ -62,7 +63,7 @@
 	ConnectorListenerTests.cpp
 
 ConnectorListenerTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-ConnectorListenerTests_LDADD   = -lcppunit -lcoil -luuid
+ConnectorListenerTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
 
 # Extra sources included distribution
 EXTRA_DIST =               \
@@ -70,14 +71,25 @@
 
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./ConnectorListenerTests 
+	/usr/bin/gcov ConnectorListenerTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/ConnectorListenerTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/ConnectorListenerTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/ConnectorListenerTests.info 
+
 # do tests
 do-test:
 	./ConnectorListenerTests --xml connectorlistenertests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f ConnectorListenerTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -85,3 +97,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/CorbaConsumer/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/CorbaConsumer/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/CorbaConsumer/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -30,6 +30,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS=               \
+	-coverage \
 	-I.                \
 	-I$(top_builddir)  \
 	-I$(includedir)    \
@@ -56,21 +57,32 @@
 	CorbaConsumerTests.cpp
 
 CorbaConsumerTests_LDFLAGS = -L$(libdir)
-CorbaConsumerTests_LDADD   = -lcppunit
+CorbaConsumerTests_LDADD   = -lcppunit -lgcov
 
 EXTRA_DIST =               \
 	CorbaConsumerTests.cpp \
 	$(IDL_SOURCES)
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./CorbaConsumerTests 
+	/usr/bin/gcov CorbaConsumerTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/CorbaConsumerTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/CorbaConsumerTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/CorbaConsumerTests.info 
+
 # do tests
 do-test:
 	./CorbaConsumerTests --xml corbaconsumertests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f CorbaConsumerTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -78,3 +90,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/CorbaNaming/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/CorbaNaming/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/CorbaNaming/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -23,6 +23,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	-I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib/ \
@@ -100,20 +101,31 @@
 	CorbaNamingTests.cpp
 
 CorbaNamingTests_LDFLAGS = -L$(libdir) -L$(top_builddir)/src/lib/coil/lib
-CorbaNamingTests_LDADD   = -lcppunit -lcoil -luuid
+CorbaNamingTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
 
 EXTRA_DIST = \
 	CorbaNamingTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./CorbaNamingTests 
+	/usr/bin/gcov CorbaNamingTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/CorbaNamingTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/CorbaNamingTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/CorbaNamingTests.info 
+
 # do tests
 do-test:
 	./CorbaNamingTests --xml corbanamingtests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f CorbaNamingTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -121,3 +133,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/CorbaPort/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/CorbaPort/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/CorbaPort/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -30,6 +30,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS =                     \
+	-coverage \
 	-I.                       \
 	-I$(top_builddir)         \
 	-I$(top_builddir)/src/lib/ \
@@ -110,21 +111,32 @@
 	CorbaPortTests.cpp
 
 CorbaPortTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-CorbaPortTests_LDADD   = -lcppunit -lcoil -luuid
+CorbaPortTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
 
 EXTRA_DIST =           \
 	$(IDL_SOURCES)     \
 	CorbaPortTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./CorbaPortTests 
+	/usr/bin/gcov CorbaPortTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/CorbaPortTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/CorbaPortTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/CorbaPortTests.info 
+
 # do tests
 do-test:
 	./CorbaPortTests --xml corbaporttests.xml --xsl defaults.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f CorbaPortTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -132,3 +144,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/DataInOutPort/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/DataInOutPort/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/DataInOutPort/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -30,6 +30,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS =                     \
+	-coverage \
 	 -I.                      \
 	-I$(top_builddir)         \
 	-I$(top_builddir)/src/lib/ \
@@ -106,7 +107,7 @@
 	DataInOutPortTests.cpp
 
 DataInOutPortTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-DataInOutPortTests_LDADD   = -lcppunit -lcoil -luuid
+DataInOutPortTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
 
 # Extra sources included distribution
 EXTRA_DIST =               \
@@ -114,14 +115,25 @@
 
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./DataInOutPortTests 
+	/usr/bin/gcov DataInOutPortTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/DataInOutPortTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/DataInOutPortTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/DataInOutPortTests.info 
+
 # do tests
 do-test:
 	./DataInOutPortTests --xml datainoutporttests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f DataInOutPortTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -129,3 +141,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/ECFactory/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/ECFactory/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/ECFactory/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -12,6 +12,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS =  \
+	-coverage \
 	-I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -91,20 +92,31 @@
 
 #ECFactoryTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
 ECFactoryTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-ECFactoryTests_LDADD   = -lcppunit -lcoil -luuid
+ECFactoryTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
 
 EXTRA_DIST = \
 	ECFactoryTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./ECFactoryTests 
+	/usr/bin/gcov ECFactoryTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/ECFactoryTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/ECFactoryTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/ECFactoryTests.info 
+
 # do tests
 do-test:
 	./ECFactoryTests --xml ecfactorytests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f ECFactoryTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -112,3 +124,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/ExtTrigExecutionContext/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/ExtTrigExecutionContext/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/ExtTrigExecutionContext/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -20,6 +20,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	-I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -99,14 +100,22 @@
 	ExtTrigExecutionContextTests.cpp
 
 ExtTrigExecutionContextTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-ExtTrigExecutionContextTests_LDADD   = -lcppunit -lcoil -luuid
+ExtTrigExecutionContextTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
 
 EXTRA_DIST = \
 	ExtTrigExecutionContextTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./ExtTrigExecutionContextTests 
+	/usr/bin/gcov ExtTrigExecutionContextTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/ExtTrigExecutionContextTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/ExtTrigExecutionContextTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/ExtTrigExecutionContextTests.info 
+
 # do tests
 do-test:
 	./ExtTrigExecutionContextTests --xml exttrigexecutioncontexttests.xml \
@@ -114,6 +123,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f ExtTrigExecutionContextTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -121,3 +133,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/Factory/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/Factory/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/Factory/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	-I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -93,20 +94,31 @@
 	FactoryTests.cpp
 
 FactoryTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-FactoryTests_LDADD   = -lcppunit -lcoil -luuid
+FactoryTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
 
 EXTRA_DIST = \
 	FactoryTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./FactoryTests 
+	/usr/bin/gcov FactoryTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/FactoryTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/FactoryTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/FactoryTests.info 
+
 # do tests
 do-test:
 	./FactoryTests --xml factorytests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f FactoryTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -114,3 +126,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/InPort/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/InPort/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/InPort/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	 -I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib/ \
@@ -54,20 +55,31 @@
 
 
 InPortTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-InPortTests_LDADD   = -lcppunit -lcoil
+InPortTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =        \
 	InPortTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./InPortTests 
+	/usr/bin/gcov InPortTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/InPortTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/InPortTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/InPortTests.info 
+
 # do tests
 do-test:
 	./InPortTests --xml inporttests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f InPortTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -75,3 +87,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/InPortBase/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/InPortBase/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/InPortBase/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	 -I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib/ \
@@ -90,20 +91,31 @@
 
 
 InPortBaseTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-InPortBaseTests_LDADD   = -lcppunit -lcoil
+InPortBaseTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =        \
 	InPortBaseTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./InPortBaseTests 
+	/usr/bin/gcov InPortBaseTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/InPortBaseTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/InPortBaseTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/InPortBaseTests.info 
+
 # do tests
 do-test:
 	./InPortBaseTests --xml inporttests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f InPortBaseTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -111,3 +123,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/InPortConnector/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/InPortConnector/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/InPortConnector/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	 -I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib/ \
@@ -89,20 +90,31 @@
 	InPortConnectorTests.cpp
 
 InPortConnectorTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-InPortConnectorTests_LDADD   = -lcppunit -lcoil
+InPortConnectorTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =        \
 	InPortConnectorTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./InPortConnectorTests 
+	/usr/bin/gcov InPortConnectorTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/InPortConnectorTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/InPortConnectorTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/InPortConnectorTests.info 
+
 # do tests
 do-test:
 	./InPortConnectorTests --xml inporttests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f InPortConnectorTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -110,3 +122,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/InPortCorbaCdrConsumer/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/InPortCorbaCdrConsumer/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/InPortCorbaCdrConsumer/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	 -I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib/ \
@@ -89,20 +90,31 @@
 	InPortCorbaCdrConsumerTests.cpp
 
 InPortCorbaCdrConsumerTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-InPortCorbaCdrConsumerTests_LDADD   = -lcppunit -lcoil
+InPortCorbaCdrConsumerTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =        \
 	InPortCorbaCdrConsumerTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./InPortCorbaCdrConsumerTests 
+	/usr/bin/gcov InPortCorbaCdrConsumerTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/InPortCorbaCdrConsumerTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/InPortCorbaCdrConsumerTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/InPortCorbaCdrConsumerTests.info 
+
 # do tests
 do-test:
 	./InPortCorbaCdrConsumerTests --xml inportcorbacdrconsumertests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f InPortCorbaCdrConsumerTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -110,3 +122,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/InPortCorbaCdrProvider/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/InPortCorbaCdrProvider/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/InPortCorbaCdrProvider/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	 -I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib/ \
@@ -89,20 +90,31 @@
 	InPortCorbaCdrProviderTests.cpp
 
 InPortCorbaCdrProviderTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-InPortCorbaCdrProviderTests_LDADD   = -lcppunit -lcoil
+InPortCorbaCdrProviderTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =        \
 	InPortCorbaCdrProviderTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./InPortCorbaCdrProviderTests 
+	/usr/bin/gcov InPortCorbaCdrProviderTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/InPortCorbaCdrProviderTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/InPortCorbaCdrProviderTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/InPortCorbaCdrProviderTests.info 
+
 # do tests
 do-test:
 	./InPortCorbaCdrProviderTests --xml inportcorbacdrprovidertests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f InPortCorbaCdrProviderTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -110,3 +122,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/InPortProvider/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/InPortProvider/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/InPortProvider/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -10,6 +10,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS =                    \
+	-coverage \
 	 -I.                      \
 	-I$(top_builddir)         \
 	-I$(top_builddir)/src/lib/ \
@@ -86,14 +87,22 @@
 	InPortProviderTests.cpp
 
 InPortProviderTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-InPortProviderTests_LDADD   = -lcppunit -lcoil
+InPortProviderTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =        \
 	InPortProviderTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./InPortProviderTests 
+	/usr/bin/gcov InPortProviderTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/InPortProviderTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/InPortProviderTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/InPortProviderTests.info 
+
 # do tests
 do-test:
 	./InPortProviderTests --xml inportprovidertests.xml \
@@ -101,6 +110,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f InPortProviderTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -108,3 +120,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/InPortPullConnector/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/InPortPullConnector/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/InPortPullConnector/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	 -I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib/ \
@@ -89,20 +90,31 @@
 	InPortPullConnectorTests.cpp
 
 InPortPullConnectorTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-InPortPullConnectorTests_LDADD   = -lcppunit -lcoil
+InPortPullConnectorTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =        \
 	InPortPullConnectorTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./InPortPullConnectorTests 
+	/usr/bin/gcov InPortPullConnectorTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/InPortPullConnectorTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/InPortPullConnectorTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/InPortPullConnectorTests.info 
+
 # do tests
 do-test:
 	./InPortPullConnectorTests --xml inportpullconnectortests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f InPortPullConnectorTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -110,3 +122,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/InPortPushConnector/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/InPortPushConnector/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/InPortPushConnector/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	 -I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib/ \
@@ -89,20 +90,31 @@
 	InPortPushConnectorTests.cpp
 
 InPortPushConnectorTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-InPortPushConnectorTests_LDADD   = -lcppunit -lcoil
+InPortPushConnectorTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =        \
 	InPortPushConnectorTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./InPortPushConnectorTests 
+	/usr/bin/gcov InPortPushConnectorTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/InPortPushConnectorTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/InPortPushConnectorTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/InPortPushConnectorTests.info 
+
 # do tests
 do-test:
 	./InPortPushConnectorTests --xml inportpushconnectortests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f InPortPushConnectorTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -110,3 +122,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -82,6 +82,7 @@
 
 # do tests
 do-test:
+	/bin/sh rtm_coverage.sh
 #	./AllTests --xml alltests.xml --xsl default.xsl
 
 # Cleanup
@@ -93,3 +94,4 @@
 	*~ *core \
 	Makefile.old \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/Manager/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/Manager/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/Manager/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -15,6 +15,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	-I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -104,6 +105,7 @@
 ManagerTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS) \
         -L$(top_builddir)/src/lib/coil/lib
 ManagerTests_LDADD   = \
+	-lgcov \
          -lcppunit                                 \
          -lomniORB4                                \
          -lomnithread                              \
@@ -170,14 +172,25 @@
 
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./ManagerTests 
+	/usr/bin/gcov ManagerTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/ManagerTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/ManagerTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/ManagerTests.info 
+
 # do tests
 do-test:
 	./ManagerTests --xml managertests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f ManagerTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -185,3 +198,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/ManagerConfig/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/ManagerConfig/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/ManagerConfig/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS =\
+	-coverage \
 	-I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -37,15 +38,23 @@
 	ManagerConfigTests.cpp
 
 ManagerConfigTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-ManagerConfigTests_LDADD   = -lcppunit -lcoil
+ManagerConfigTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =               \
 	ManagerConfigTests.cpp \
 	rtc.conf
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./ManagerConfigTests 
+	/usr/bin/gcov ManagerConfigTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/ManagerConfigTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/ManagerConfigTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/ManagerConfigTests.info 
+
 # do tests
 do-test:
 	./ManagerConfigTests --xml managerconfigtests.xml \
@@ -53,6 +62,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f ManagerConfigTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -60,3 +72,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/ManagerServant/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/ManagerServant/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/ManagerServant/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -21,6 +21,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS= -I.                                \
+	-coverage \
 	-I$(includedir)                         \
 	-I$(top_builddir)                       \
 	-I.                                     \
@@ -113,6 +114,7 @@
 ManagerServantTests_LDFLAGS = -L$(libdir) \
         -L$(top_builddir)/src/lib/coil/lib
 ManagerServantTests_LDADD   =                      \
+	-lgcov \
          -lcppunit                                 \
          -lomniORB4                                \
          -lomnithread                              \
@@ -174,8 +176,16 @@
 
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./ManagerServantTests 
+	/usr/bin/gcov ManagerServantTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/ManagerServantTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/ManagerServantTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/ManagerServantTests.info 
+
 # do tests
 do-test:
 #	./ManagerServantTests
@@ -184,6 +194,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f ManagerServantTests
 	rm -f *.o *.Po *.gch *.la
 	rm -f *~ *core
 	rm -f *.xml
@@ -237,3 +250,4 @@
 	qkc -O- -sm $(win32_builddir)/ManagerServant_vc10.vcproj
 
 
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/ModuleManager/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/ModuleManager/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/ModuleManager/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	 -I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -107,6 +108,7 @@
 ModuleManagerTests_LDFLAGS = -L$(libdir) \
         -L$(top_builddir)/src/lib/coil/lib
 ModuleManagerTests_LDADD   =                       \
+	-lgcov \
          -lcppunit                                 \
          -lomniORB4                                \
          -lomnithread                              \
@@ -148,8 +150,16 @@
 	DummyModule1.cpp 
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./ModuleManagerTests 
+	/usr/bin/gcov ModuleManagerTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/ModuleManagerTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/ModuleManagerTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/ModuleManagerTests.info 
+
 # do tests
 do-test:
 	./ModuleManagerTests --xml modulemanagertests.xml \
@@ -157,6 +167,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f ModuleManagerTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -164,3 +177,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/NVUtil/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/NVUtil/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/NVUtil/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS =                    \
+	-coverage \
 	 -I.                      \
 	-I$(top_builddir)         \
 	-I$(top_builddir)/src/lib \
@@ -44,20 +45,31 @@
 	NVUtilTests.cpp
 
 NVUtilTests_LDFLAGS = -L$(libdir)
-NVUtilTests_LDADD   = -lcppunit
+NVUtilTests_LDADD   = -lcppunit -lgcov
 
 EXTRA_DIST =        \
 	NVUtilTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./NVUtilTests 
+	/usr/bin/gcov NVUtilTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/NVUtilTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/NVUtilTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/NVUtilTests.info 
+
 # do tests
 do-test:
 	./NVUtilTests --xml nvutiltests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f NVUtilTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -65,3 +77,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/NamingManager/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/NamingManager/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/NamingManager/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -15,6 +15,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	-I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -92,14 +93,22 @@
 	NamingManagerTests.cpp
 
 NamingManagerTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-NamingManagerTests_LDADD   = -lcppunit -lcoil -luuid
+NamingManagerTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
 
 EXTRA_DIST = \
 	NamingManagerTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./NamingManagerTests 
+	/usr/bin/gcov NamingManagerTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/NamingManagerTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/NamingManagerTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/NamingManagerTests.info 
+
 # do tests
 do-test:
 	./NamingManagerTests --xml namingmanagertests.xml \
@@ -107,6 +116,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f NamingManagerTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -114,3 +126,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/NumberingPolicy/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/NumberingPolicy/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/NumberingPolicy/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -24,6 +24,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	-I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -44,14 +45,22 @@
 	NumberingPolicyTests.cpp
 
 NumberingPolicyTests_LDFLAGS = -L$(libdir)
-NumberingPolicyTests_LDADD   = -lcppunit
+NumberingPolicyTests_LDADD   = -lcppunit -lgcov
 
 EXTRA_DIST = \
 	NumberingPolicyTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./NumberingPolicyTests 
+	/usr/bin/gcov NumberingPolicyTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/NumberingPolicyTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/NumberingPolicyTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/NumberingPolicyTests.info 
+
 # do tests
 do-test:
 	./NumberingPolicyTests --xml numberingpolicytests.xml \
@@ -59,6 +68,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f NumberingPolicyTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -66,3 +78,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/ObjectManager/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/ObjectManager/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/ObjectManager/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	 -I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -37,14 +38,22 @@
 	ObjectManagerTests.cpp
 
 ObjectManagerTests_LDFLAGS = -L$(libdir)
-ObjectManagerTests_LDADD   = -lcppunit
+ObjectManagerTests_LDADD   = -lcppunit -lgcov
 
 EXTRA_DIST =               \
 	ObjectManagerTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./ObjectManagerTests 
+	/usr/bin/gcov ObjectManagerTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/ObjectManagerTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/ObjectManagerTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/ObjectManagerTests.info 
+
 # do tests
 do-test:
 	./ObjectManagerTests --xml objectmanagertests.xml \
@@ -52,6 +61,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f ObjectManagerTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -59,3 +71,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/OutPort/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/OutPort/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/OutPort/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -36,6 +36,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS =             \
+	-coverage \
 	 -I.              \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -89,14 +90,22 @@
 #	$(top_srcdir)/src/lib/rtm/OutPortProvider.cpp 
 
 OutPortTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-OutPortTests_LDADD   = -lcppunit -lcoil
+OutPortTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =         \
 	OutPortTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./OutPortTests 
+	/usr/bin/gcov OutPortTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/OutPortTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/OutPortTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/OutPortTests.info 
+
 # do tests
 do-test:
 	./OutPortTests --xml outporttests.xml \
@@ -104,6 +113,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f OutPortTests
 	rm -f OutPortTests                  \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -111,3 +123,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortBase/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortBase/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortBase/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -30,6 +30,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS =         \
+	-coverage \
 	 -I.              \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -103,14 +104,22 @@
 #	$(top_srcdir)/src/lib/rtm/OutPortPushConnector.cpp       
 #	$(top_srcdir)/src/lib/rtm/OutPortPullConnector.cpp       
 OutPortBaseTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-OutPortBaseTests_LDADD   = -lcppunit -lcoil
+OutPortBaseTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =       \
 	OutPortBaseTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./OutPortBaseTests 
+	/usr/bin/gcov OutPortBaseTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/OutPortBaseTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/OutPortBaseTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/OutPortBaseTests.info 
+
 # do tests
 do-test:
 	./OutPortBaseTests --xml outportbasetests.xml \
@@ -118,6 +127,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f OutPortBaseTests
 	rm -f OutPortBaseTests              \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -125,3 +137,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortConnector/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortConnector/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortConnector/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	 -I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib/ \
@@ -89,20 +90,31 @@
 	OutPortConnectorTests.cpp
 
 OutPortConnectorTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-OutPortConnectorTests_LDADD   = -lcppunit -lcoil
+OutPortConnectorTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =        \
 	OutPortConnectorTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./OutPortConnectorTests 
+	/usr/bin/gcov OutPortConnectorTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/OutPortConnectorTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/OutPortConnectorTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/OutPortConnectorTests.info 
+
 # do tests
 do-test:
 	./OutPortConnectorTests --xml outportconnectortests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f OutPortConnectorTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -110,3 +122,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortCorbaCdrConsumer/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortCorbaCdrConsumer/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortCorbaCdrConsumer/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	 -I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib/ \
@@ -89,20 +90,31 @@
 	OutPortCorbaCdrConsumerTests.cpp
 
 OutPortCorbaCdrConsumerTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-OutPortCorbaCdrConsumerTests_LDADD   = -lcppunit -lcoil
+OutPortCorbaCdrConsumerTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =        \
 	OutPortCorbaCdrConsumerTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./OutPortCorbaCdrConsumerTests 
+	/usr/bin/gcov OutPortCorbaCdrConsumerTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/OutPortCorbaCdrConsumerTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/OutPortCorbaCdrConsumerTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/OutPortCorbaCdrConsumerTests.info 
+
 # do tests
 do-test:
 	./OutPortCorbaCdrConsumerTests --xml outportcorbacdrconsumertests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f OutPortCorbaCdrConsumerTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -110,3 +122,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortCorbaCdrProvider/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortCorbaCdrProvider/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortCorbaCdrProvider/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	 -I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib/ \
@@ -89,20 +90,31 @@
 	OutPortCorbaCdrProviderTests.cpp
 
 OutPortCorbaCdrProviderTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-OutPortCorbaCdrProviderTests_LDADD   = -lcppunit -lcoil
+OutPortCorbaCdrProviderTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =        \
 	OutPortCorbaCdrProviderTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./OutPortCorbaCdrProviderTests 
+	/usr/bin/gcov OutPortCorbaCdrProviderTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/OutPortCorbaCdrProviderTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/OutPortCorbaCdrProviderTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/OutPortCorbaCdrProviderTests.info 
+
 # do tests
 do-test:
 	./OutPortCorbaCdrProviderTests --xml outportcorbacdrprovidertests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f OutPortCorbaCdrProviderTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -110,3 +122,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortProvider/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortProvider/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortProvider/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -10,6 +10,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS =                    \
+	-coverage \
 	 -I.                      \
 	-I$(top_builddir)         \
 	-I$(top_builddir)/src/lib \
@@ -44,14 +45,22 @@
 	OutPortProviderTests.cpp
 
 OutPortProviderTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-OutPortProviderTests_LDADD   = -lcppunit -lcoil
+OutPortProviderTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =        \
 	OutPortProviderTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./OutPortProviderTests 
+	/usr/bin/gcov OutPortProviderTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/OutPortProviderTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/OutPortProviderTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/OutPortProviderTests.info 
+
 # do tests
 do-test:
 	./OutPortProviderTests --xml outportprovidertests.xml \
@@ -59,6 +68,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f OutPortProviderTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -66,3 +78,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortPullConnector/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortPullConnector/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortPullConnector/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	 -I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib/ \
@@ -89,20 +90,31 @@
 	OutPortPullConnectorTests.cpp
 
 OutPortPullConnectorTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-OutPortPullConnectorTests_LDADD   = -lcppunit -lcoil
+OutPortPullConnectorTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =        \
 	OutPortPullConnectorTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./OutPortPullConnectorTests 
+	/usr/bin/gcov OutPortPullConnectorTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/OutPortPullConnectorTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/OutPortPullConnectorTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/OutPortPullConnectorTests.info 
+
 # do tests
 do-test:
 	./OutPortPullConnectorTests --xml outportpullconnectortests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f OutPortPullConnectorTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -110,3 +122,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortPushConnector/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortPushConnector/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/OutPortPushConnector/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	 -I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib/ \
@@ -89,20 +90,31 @@
 	OutPortPushConnectorTests.cpp
 
 OutPortPushConnectorTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-OutPortPushConnectorTests_LDADD   = -lcppunit -lcoil
+OutPortPushConnectorTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =        \
 	OutPortPushConnectorTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./OutPortPushConnectorTests 
+	/usr/bin/gcov OutPortPushConnectorTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/OutPortPushConnectorTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/OutPortPushConnectorTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/OutPortPushConnectorTests.info 
+
 # do tests
 do-test:
 	./OutPortPushConnectorTests --xml outportpushconnectortests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f OutPortPushConnectorTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -110,3 +122,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/PeriodicECSharedComposite/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/PeriodicECSharedComposite/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/PeriodicECSharedComposite/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	-I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -38,14 +39,22 @@
 	PeriodicECSharedCompositeTests.cpp
 
 PeriodicECSharedCompositeTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-PeriodicECSharedCompositeTests_LDADD   = -lcppunit -lRTC -lcoil -luuid
+PeriodicECSharedCompositeTests_LDADD   = -lcppunit -lRTC -lcoil -luuid -lgcov
 
 EXTRA_DIST = \
 	PeriodicECSharedCompositeTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./PeriodicECSharedCompositeTests 
+	/usr/bin/gcov PeriodicECSharedCompositeTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/PeriodicECSharedCompositeTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/PeriodicECSharedCompositeTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/PeriodicECSharedCompositeTests.info 
+
 # do tests
 do-test:
 	./PeriodicECSharedCompositeTests --xml periodicecsharedcompositetests.xml \
@@ -53,6 +62,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f PeriodicECSharedCompositeTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -60,3 +72,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/PeriodicExecutionContext/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/PeriodicExecutionContext/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/PeriodicExecutionContext/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	-I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -94,14 +95,22 @@
 	PeriodicExecutionContextTests.cpp
 
 PeriodicExecutionContextTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-PeriodicExecutionContextTests_LDADD   = -lcppunit -lcoil -luuid
+PeriodicExecutionContextTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
 
 EXTRA_DIST = \
 	PeriodicExecutionContextTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./PeriodicExecutionContextTests 
+	/usr/bin/gcov PeriodicExecutionContextTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/PeriodicExecutionContextTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/PeriodicExecutionContextTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/PeriodicExecutionContextTests.info 
+
 # do tests
 do-test:
 	./PeriodicExecutionContextTests --xml periodicexecutioncontexttests.xml \
@@ -109,6 +118,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f PeriodicExecutionContextTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -116,3 +128,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/PortAdmin/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/PortAdmin/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/PortAdmin/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS =                     \
+	-coverage \
 	-I.                       \
 	-I$(top_builddir)         \
 	-I$(top_builddir)/src/lib \
@@ -91,14 +92,22 @@
 	PortAdminTests.cpp
 
 PortAdminTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-PortAdminTests_LDADD   = -lcppunit -lcoil -luuid
+PortAdminTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
 
 EXTRA_DIST =           \
 	PortAdminTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./PortAdminTests 
+	/usr/bin/gcov PortAdminTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/PortAdminTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/PortAdminTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/PortAdminTests.info 
+
 # do tests
 do-test:
 	./PortAdminTests --xml portadmintests.xml \
@@ -106,6 +115,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f PortAdminTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -113,3 +125,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/PortBase/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/PortBase/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/PortBase/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -30,6 +30,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS =                     \
+	-coverage \
 	-I.                       \
 	-I$(top_builddir)         \
 	-I$(top_builddir)/src/lib/ \
@@ -110,14 +111,22 @@
 
 
 PortBaseTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-PortBaseTests_LDADD   = -lcppunit -lcoil -luuid
+PortBaseTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
 
 EXTRA_DIST =          \
 	PortBaseTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./PortBaseTests 
+	/usr/bin/gcov PortBaseTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/PortBaseTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/PortBaseTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/PortBaseTests.info 
+
 # do tests
 do-test:
 	./PortBaseTests --xml portbasetests.xml \
@@ -125,6 +134,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f PortBaseTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -132,3 +144,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/PublisherFlush/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/PublisherFlush/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/PublisherFlush/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -30,6 +30,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS =             \
+	-coverage \
 	-I.               \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib/ \
@@ -106,14 +107,22 @@
 	PublisherFlushTests.cpp
 
 PublisherFlushTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-PublisherFlushTests_LDADD   = -lcppunit -lcoil
+PublisherFlushTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =                \
 	PublisherFlushTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./PublisherFlushTests 
+	/usr/bin/gcov PublisherFlushTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/PublisherFlushTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/PublisherFlushTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/PublisherFlushTests.info 
+
 # do tests
 do-test:
 	./PublisherFlushTests --xml publisherflushtests.xml \
@@ -121,6 +130,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f PublisherFlushTests
 	rm -f PublisherFlushTests           \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -128,3 +140,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/PublisherNew/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/PublisherNew/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/PublisherNew/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -30,6 +30,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS =         \
+	-coverage \
 	-I.               \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -106,14 +107,22 @@
 	PublisherNewTests.cpp
 
 PublisherNewTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-PublisherNewTests_LDADD   = -lcppunit -lcoil
+PublisherNewTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =              \
 	PublisherNewTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./PublisherNewTests 
+	/usr/bin/gcov PublisherNewTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/PublisherNewTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/PublisherNewTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/PublisherNewTests.info 
+
 # do tests
 do-test:
 	./PublisherNewTests --xml publishernewtests.xml \
@@ -121,6 +130,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f PublisherNewTests
 	rm -f PublisherNewTests             \
 	*.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -128,3 +140,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/PublisherPeriodic/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/PublisherPeriodic/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/PublisherPeriodic/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -30,6 +30,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS =         \
+	-coverage \
 	-I.               \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib/ \
@@ -106,14 +107,22 @@
 	PublisherPeriodicTests.cpp
 
 PublisherPeriodicTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-PublisherPeriodicTests_LDADD   = -lcppunit -lcoil
+PublisherPeriodicTests_LDADD   = -lcppunit -lcoil -lgcov
 
 EXTRA_DIST =                  \
 	PublisherPeriodicTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./PublisherPeriodicTests 
+	/usr/bin/gcov PublisherPeriodicTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/PublisherPeriodicTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/PublisherPeriodicTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/PublisherPeriodicTests.info 
+
 # do tests
 do-test:
 	./PublisherPeriodicTests --xml publisherperiodictests.xml \
@@ -121,6 +130,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f PublisherPeriodicTests
 	rm -f PublisherPeriodicTests        \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -128,3 +140,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/RTCUtil/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/RTCUtil/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/RTCUtil/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -26,6 +26,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	-I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -51,14 +52,22 @@
 	RTCUtilTests.cpp
 
 RTCUtilTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-RTCUtilTests_LDADD   = -lcppunit
+RTCUtilTests_LDADD   = -lcppunit -lgcov
 
 EXTRA_DIST = \
 	RTCUtilTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./RTCUtilTests 
+	/usr/bin/gcov RTCUtilTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/RTCUtilTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/RTCUtilTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/RTCUtilTests.info 
+
 # do tests
 do-test:
 	./RTCUtilTests --xml rtcutiltests.xml \
@@ -66,6 +75,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f RTCUtilTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -73,3 +85,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/RTObject/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/RTObject/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/RTObject/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -23,6 +23,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	-I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -100,14 +101,22 @@
 	RTObjectTests.cpp
 
 RTObjectTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-RTObjectTests_LDADD   = -lcppunit -lcoil -luuid
+RTObjectTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
 
 EXTRA_DIST = \
 	RTObjectTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./RTObjectTests 
+	/usr/bin/gcov RTObjectTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/RTObjectTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/RTObjectTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/RTObjectTests.info 
+
 # do tests
 do-test:
 	./RTObjectTests --xml rtobjecttests.xml \
@@ -115,6 +124,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f RTObjectTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -122,3 +134,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/RingBuffer/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/RingBuffer/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/RingBuffer/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -30,6 +30,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS =             \
+	-coverage \
 	-I.               \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -51,14 +52,22 @@
 	RingBufferTests.cpp
 
 RingBufferTests_LDFLAGS = -L../../ -L$(libdir) $(AM_LDFLAGS)
-RingBufferTests_LDADD   = -lcppunit -lcoil -lRTC
+RingBufferTests_LDADD   = -lcppunit -lcoil -lRTC -lgcov
 
 EXTRA_DIST =            \
 	RingBufferTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./RingBufferTests 
+	/usr/bin/gcov RingBufferTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/RingBufferTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/RingBufferTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/RingBufferTests.info 
+
 # do tests
 do-test:
 	./RingBufferTests --xml ringbuffertests.xml \
@@ -66,6 +75,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f RingBufferTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -73,3 +85,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/SdoConfiguration/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/SdoConfiguration/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/SdoConfiguration/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS= \
+	-coverage \
 	-I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -93,14 +94,22 @@
 	SdoConfigurationTests.cpp
 
 SdoConfigurationTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-SdoConfigurationTests_LDADD   = -lcppunit -lcoil -luuid
+SdoConfigurationTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
 
 EXTRA_DIST =                  \
 	SdoConfigurationTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./SdoConfigurationTests 
+	/usr/bin/gcov SdoConfigurationTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/SdoConfigurationTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/SdoConfigurationTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/SdoConfigurationTests.info 
+
 # do tests
 do-test:
 	./SdoConfigurationTests --xml sdoconfigurationotests.xml \
@@ -108,6 +117,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f SdoConfigurationTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -115,3 +127,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/SdoOrganization/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/SdoOrganization/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/SdoOrganization/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS=              \
+	-coverage \
 	-I.               \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -42,14 +43,22 @@
 #	(top_builddir)/src/lib/rtm/SdoOrganization.cpp    
 
 SdoOrganizationTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-SdoOrganizationTests_LDADD   = -lcppunit -lRTC -lcoil -luuid
+SdoOrganizationTests_LDADD   = -lcppunit -lRTC -lcoil -luuid -lgcov
 
 EXTRA_DIST =                 \
 	SdoOrganizationTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./SdoOrganizationTests 
+	/usr/bin/gcov SdoOrganizationTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/SdoOrganizationTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/SdoOrganizationTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/SdoOrganizationTests.info 
+
 # do tests
 do-test:
 	./SdoOrganizationTests --xml sdoorganizationtests.xml \
@@ -57,6 +66,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f SdoOrganizationTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -64,3 +76,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/SdoService/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/SdoService/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/SdoService/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -16,6 +16,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS=              \
+	-coverage \
 	-I.               \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib/rtm \
@@ -36,14 +37,22 @@
 	SdoServiceTests.cpp
 
 SdoServiceTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-SdoServiceTests_LDADD   = -lcppunit
+SdoServiceTests_LDADD   = -lcppunit -lgcov
 
 EXTRA_DIST =            \
 	SdoServiceTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./SdoServiceTests 
+	/usr/bin/gcov SdoServiceTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/SdoServiceTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/SdoServiceTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/SdoServiceTests.info 
+
 # do tests
 do-test:
 	./SdoServiceTests --xml sdoservicetests.xml \
@@ -51,6 +60,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f SdoServiceTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -59,3 +71,4 @@
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
 
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/StateMachine/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/StateMachine/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/StateMachine/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -30,6 +30,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS= \
+	-coverage \
 	-I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib/rtm \
@@ -50,14 +51,22 @@
 	StateMachineTests.cpp
 
 StateMachineTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS)
-StateMachineTests_LDADD   = -lcppunit
+StateMachineTests_LDADD   = -lcppunit -lgcov
 
 EXTRA_DIST = \
 	StateMachineTests.cpp
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./StateMachineTests 
+	/usr/bin/gcov StateMachineTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/StateMachineTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/StateMachineTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/StateMachineTests.info 
+
 # do tests
 do-test:
 	./StateMachineTests --xml statemachinetests.xml \
@@ -65,6 +74,9 @@
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f StateMachineTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -72,3 +84,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+

Modified: trunk/OpenRTM-aist/src/lib/rtm/tests/SystemLogger/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/tests/SystemLogger/Makefile.am	2015-06-09 07:31:41 UTC (rev 2610)
+++ trunk/OpenRTM-aist/src/lib/rtm/tests/SystemLogger/Makefile.am	2015-06-10 00:21:10 UTC (rev 2611)
@@ -15,6 +15,7 @@
 LIBS = @LIBS@
 
 AM_CPPFLAGS = \
+	-coverage \
 	-I. \
 	-I$(top_builddir) \
 	-I$(top_builddir)/src/lib \
@@ -93,6 +94,7 @@
 SystemLoggerTests_LDFLAGS = -L$(libdir) $(AM_LDFLAGS) \
         -L$(top_builddir)/src/lib/coil/lib
 SystemLoggerTests_LDADD   = \
+	-lgcov \
          -lcppunit                                 \
          -lomniORB4                                \
          -lomnithread                              \
@@ -115,14 +117,25 @@
 
 
 # all
-all: do-test
+all: do-test do-coverage
 
+do-coverage: 
+	./SystemLoggerTests 
+	/usr/bin/gcov SystemLoggerTests.gcda 
+	/bin/mkdir ./Coverage 
+	/usr/bin/lcov -c -d . -o ./Coverage/SystemLoggerTests.info 
+	/usr/bin/python ../rtm_tests_changeInfo.py ./Coverage/SystemLoggerTests.info 
+	/usr/bin/genhtml -o ./Coverage ./Coverage/SystemLoggerTests.info 
+
 # do tests
 do-test:
 	./SystemLoggerTests --xml systemloggertests.xml --xsl default.xsl
 
 # clean-up
 clean-local:
+	rm -rf ./Coverage
+	rm -f *.gcda *.gcno *.gcov
+	rm -f SystemLoggerTests
 	rm -f                               \
         *.log *.xml                         \
 	*.o *.Po *.gch *.la                 \
@@ -130,3 +143,4 @@
 	*~ *core                            \
 	Makefile.old                        \
 	*.cc *.hh *.i *.a *.c *.inl
+



More information about the openrtm-commit mailing list