ack, code review only/Thanks HansN On 11/26/2015 08:41 AM, Quyen Dao wrote: > configure.ac | 2 + > osaf/libs/agents/saf/amfa/Makefile.am | 2 +- > osaf/libs/agents/saf/amfa/tests/Makefile.am | 35 > +++++++++++++++++++++++++++ > osaf/services/saf/amf/amfnd/Makefile.am | 2 +- > osaf/services/saf/amf/amfnd/tests/Makefile.am | 35 > +++++++++++++++++++++++++++ > 5 files changed, 74 insertions(+), 2 deletions(-) > > > diff --git a/configure.ac b/configure.ac > --- a/configure.ac > +++ b/configure.ac > @@ -690,6 +690,7 @@ AC_CONFIG_FILES([ > osaf/libs/agents/saf/Makefile > osaf/libs/agents/saf/amfa/Makefile > osaf/libs/agents/saf/amfa/include/Makefile > + osaf/libs/agents/saf/amfa/tests/Makefile > osaf/libs/agents/saf/imma/Makefile > osaf/libs/agents/saf/plma/Makefile > osaf/libs/agents/saf/lga/Makefile > @@ -809,6 +810,7 @@ AC_CONFIG_FILES([ > osaf/services/saf/amf/amfnd/include/Makefile > osaf/services/saf/amf/amfnd/scripts/Makefile > osaf/services/saf/amf/amfnd/scripts/osaf-amfnd > + osaf/services/saf/amf/amfnd/tests/Makefile > osaf/services/saf/amf/amfwdog/Makefile > osaf/services/saf/amf/amfwdog/scripts/Makefile > osaf/services/saf/amf/amfwdog/scripts/osaf-amfwd > diff --git a/osaf/libs/agents/saf/amfa/Makefile.am > b/osaf/libs/agents/saf/amfa/Makefile.am > --- a/osaf/libs/agents/saf/amfa/Makefile.am > +++ b/osaf/libs/agents/saf/amfa/Makefile.am > @@ -18,7 +18,7 @@ include $(top_srcdir)/Makefile.common > > MAINTAINERCLEANFILES = Makefile.in > > -SUBDIRS = include > +SUBDIRS = include tests > > noinst_LTLIBRARIES = libava.la > > diff --git a/osaf/libs/agents/saf/amfa/tests/Makefile.am > b/osaf/libs/agents/saf/amfa/tests/Makefile.am > new file mode 100644 > --- /dev/null > +++ b/osaf/libs/agents/saf/amfa/tests/Makefile.am > @@ -0,0 +1,35 @@ > +# -*- OpenSAF -*- > +# > +# (C) Copyright 2015 The OpenSAF Foundation > +# > +# This program is distributed in the hope that it will be useful, but > +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY > +# or FITNESS FOR A PARTICULAR PURPOSE. This file and program are licensed > +# under the GNU Lesser General Public License Version 2.1, February 1999. > +# The complete license can be accessed from the following location: > +# http://opensource.org/licenses/lgpl-license.php > +# See the Copying file included with the OpenSAF distribution for full > +# licensing terms. > +# > +# Author(s): Ericsson AB > +# > + > +include $(top_srcdir)/Makefile.common > + > +TESTS = testamfa > + > +check_PROGRAMS = testamfa > + > +testamfa_CXXFLAGS =$(AM_CXXFLAGS) > + > +testamfa_CPPFLAGS = \ > + -I$(GTEST_DIR)/include > + > +testamfa_LDFLAGS = > + > +# Add test case cc files here > +testamfa_SOURCES = > + > +testamfa_LDADD = \ > + $(GTEST_DIR)/lib/libgtest.la \ > + $(GTEST_DIR)/lib/libgtest_main.la > diff --git a/osaf/services/saf/amf/amfnd/Makefile.am > b/osaf/services/saf/amf/amfnd/Makefile.am > --- a/osaf/services/saf/amf/amfnd/Makefile.am > +++ b/osaf/services/saf/amf/amfnd/Makefile.am > @@ -18,7 +18,7 @@ include $(top_srcdir)/Makefile.common > > MAINTAINERCLEANFILES = Makefile.in > > -SUBDIRS = include scripts > +SUBDIRS = include scripts tests > > osaf_execbindir = $(pkglibdir) > osaf_execbin_PROGRAMS = osafamfnd > diff --git a/osaf/services/saf/amf/amfnd/tests/Makefile.am > b/osaf/services/saf/amf/amfnd/tests/Makefile.am > new file mode 100644 > --- /dev/null > +++ b/osaf/services/saf/amf/amfnd/tests/Makefile.am > @@ -0,0 +1,35 @@ > +# -*- OpenSAF -*- > +# > +# (C) Copyright 2015 The OpenSAF Foundation > +# > +# This program is distributed in the hope that it will be useful, but > +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY > +# or FITNESS FOR A PARTICULAR PURPOSE. This file and program are licensed > +# under the GNU Lesser General Public License Version 2.1, February 1999. > +# The complete license can be accessed from the following location: > +# http://opensource.org/licenses/lgpl-license.php > +# See the Copying file included with the OpenSAF distribution for full > +# licensing terms. > +# > +# Author(s): Ericsson AB > +# > + > +include $(top_srcdir)/Makefile.common > + > +TESTS = testamfnd > + > +check_PROGRAMS = testamfnd > + > +testamfnd_CXXFLAGS =$(AM_CXXFLAGS) > + > +testamfnd_CPPFLAGS = \ > + -I$(GTEST_DIR)/include > + > +testamfnd_LDFLAGS = > + > +# Add test case cc files here > +testamfnd_SOURCES = > + > +testamfnd_LDADD = \ > + $(GTEST_DIR)/lib/libgtest.la \ > + $(GTEST_DIR)/lib/libgtest_main.la
------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140 _______________________________________________ Opensaf-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-devel
