"Fossies" - the Fresh Open Source Software Archive

Member "google-gadgets-for-linux-0.11.2/ggadget/tests/Makefile.am" (1 Jul 2009, 4861 Bytes) of package /linux/misc/old/google-gadgets-for-linux-0.11.2.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #
    2 # Copyright 2008 Google Inc.
    3 #
    4 # Licensed under the Apache License, Version 2.0 (the "License");
    5 # you may not use this file except in compliance with the License.
    6 # You may obtain a copy of the License at
    7 #
    8 #      http://www.apache.org/licenses/LICENSE-2.0
    9 #
   10 # Unless required by applicable law or agreed to in writing, software
   11 # distributed under the License is distributed on an "AS IS" BASIS,
   12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   13 # See the License for the specific language governing permissions and
   14 # limitations under the License.
   15 
   16 EXTRA_DIST		= file_manager_test_data CMakeLists.txt
   17 
   18 SUBDIRS = test_modules
   19 
   20 INCLUDES		= -I$(top_builddir) \
   21 			  -I$(top_srcdir)
   22 
   23 LDADD			= $(top_builddir)/unittest/libgtest.la \
   24 			  $(top_builddir)/ggadget/libggadget@GGL_EPOCH@.la
   25 
   26 AM_CPPFLAGS		= $(PREDEFINED_MACROS)
   27 AM_CXXFLAGS		= $(DEFAULT_COMPILE_FLAGS)
   28 
   29 noinst_HEADERS		= init_extensions.h \
   30 			  main_loop_test.h \
   31 			  mocked_element.h \
   32 			  mocked_file_manager.h \
   33 			  mocked_timer_main_loop.h \
   34 			  mocked_view_host.h \
   35 			  mocked_xml_http_request.h \
   36 			  native_main_loop.h \
   37 			  scriptables.h \
   38 			  slots.h
   39 
   40 check_PROGRAMS		= backoff_test \
   41 			  color_test \
   42 			  common_test \
   43 			  extension_manager_test \
   44 			  variant_test \
   45 			  slot_test \
   46 			  signal_test \
   47 			  scriptable_helper_test \
   48 			  scriptable_enumerator_test \
   49 			  elements_test \
   50 			  element_factory_test \
   51 			  encryptor_test \
   52 			  file_manager_test \
   53 			  locales_test \
   54 			  math_utils_test \
   55 			  messages_test \
   56 			  native_main_loop_test \
   57 			  unicode_utils_test \
   58 			  string_utils_test \
   59 			  basic_element_test \
   60 			  module_test \
   61 			  system_utils_test \
   62 			  uuid_test \
   63 			  view_test \
   64 			  xml_dom_test \
   65 			  xml_parser_test \
   66 			  xml_http_request_test \
   67 			  digest_utils_test \
   68 			  image_cache_test \
   69 			  permissions_test \
   70 			  host_utils_test
   71 
   72 check_LTLIBRARIES	= foo-module.la \
   73 			  bar-module.la
   74 
   75 backoff_test_SOURCES		= backoff_test.cc
   76 color_test_SOURCES		= color_test.cc
   77 common_test_SOURCES		= common_test.cc
   78 extension_manager_test_SOURCES	= extension_manager_test.cc
   79 variant_test_SOURCES		= variant_test.cc
   80 slot_test_SOURCES		= slot_test.cc slots.cc
   81 signal_test_SOURCES		= signal_test.cc slots.cc
   82 scriptable_helper_test_SOURCES	= scriptable_helper_test.cc scriptables.cc
   83 scriptable_enumerator_test_SOURCES	= scriptable_enumerator_test.cc scriptables.cc
   84 elements_test_SOURCES		= elements_test.cc
   85 element_factory_test_SOURCES	= element_factory_test.cc
   86 encryptor_test_SOURCES		= encryptor_test.cc
   87 file_manager_test_SOURCES	= file_manager_test.cc
   88 locales_test_SOURCES		= locales_test.cc
   89 math_utils_test_SOURCES		= math_utils_test.cc
   90 messages_test_SOURCES		= messages_test.cc
   91 native_main_loop_test_SOURCES	= native_main_loop.cc native_main_loop_test.cc
   92 unicode_utils_test_SOURCES	= unicode_utils_test.cc
   93 string_utils_test_SOURCES	= string_utils_test.cc
   94 basic_element_test_SOURCES	= basic_element_test.cc
   95 module_test_SOURCES		= module_test.cc
   96 system_utils_test_SOURCES	= system_utils_test.cc
   97 view_test_SOURCES		= view_test.cc
   98 xml_dom_test_SOURCES		= xml_dom_test.cc
   99 xml_parser_test_SOURCES		= xml_parser_test.cc
  100 digest_utils_test_SOURCES	= digest_utils_test.cc
  101 image_cache_test_SOURCES	= image_cache_test.cc
  102 permissions_test_SOURCES	= permissions_test.cc
  103 uuid_test_SOURCES		= uuid_test.cc
  104 host_utils_test_SOURCES		= host_utils_test.cc
  105 
  106 xml_http_request_test_SOURCES	= xml_http_request_test.cc native_main_loop.cc
  107 xml_http_request_test_LDADD	= $(PTHREAD_LIBS) \
  108 				  $(top_builddir)/unittest/libgtest.la \
  109 				  $(top_builddir)/ggadget/libggadget@GGL_EPOCH@.la
  110 
  111 foo_module_la_SOURCES		= test_module.cc
  112 foo_module_la_CPPFLAGS		= $(PREDEFINED_MACROS) \
  113 				  -DMODULE_NAME=foo-module \
  114 				  -DMODULE_NAME_UNDERSCORE=foo_module \
  115 				  -DELEMENT_EXTENSION=1
  116 foo_module_la_LIBADD		= $(top_builddir)/unittest/libgtest.la \
  117 				  $(top_builddir)/ggadget/libggadget@GGL_EPOCH@.la
  118 foo_module_la_LDFLAGS		= -avoid-version \
  119 				  -no-undefined \
  120 				  -rpath ${abs_builddir} \
  121 				  -module
  122 
  123 bar_module_la_SOURCES		= test_module.cc
  124 bar_module_la_CPPFLAGS		= $(PREDEFINED_MACROS) \
  125 				  -DMODULE_NAME=bar-module \
  126 				  -DMODULE_NAME_UNDERSCORE=bar_module \
  127 				  -DSCRIPT_EXTENSION=1
  128 bar_module_la_LIBADD		= $(top_builddir)/unittest/libgtest.la \
  129 				  $(top_builddir)/ggadget/libggadget@GGL_EPOCH@.la
  130 bar_module_la_LDFLAGS		= -avoid-version \
  131 				  -no-undefined \
  132 				  -rpath ${abs_builddir} \
  133 				  -module
  134 
  135 file_manager_test_data_dest: file_manager_test_data
  136 	(rm -fr $@; cp -R $< $@; find $@ -name '.*' -exec rm -fr {} \;) || true
  137 
  138 if GGL_HAVE_ZIP
  139 noinst_DATA = file_manager_test_data_dest.gg
  140 file_manager_test_data_dest.gg: file_manager_test_data_dest
  141 	(cd $<; find . -type f | $(ZIP) -r -u $(abs_builddir)/$@ -@)
  142 endif
  143 
  144 TESTS_ENVIRONMENT	= $(LIBTOOL) --mode=execute $(MEMCHECK_COMMAND)
  145 TESTS 			= $(check_PROGRAMS)