summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorKrzesimir Nowak <qdlacz@gmail.com>2011-02-02 21:57:49 +0100
committerMurray Cumming <murrayc@murrayc.com>2011-02-21 09:33:28 +0100
commit202871d761e3b14dda986eb1d303bd514fd28cf3 (patch)
tree8cf7b2a30cfbd3d11bcf01ecff8fd23dbaceab06 /tests/Makefile.am
parent2622421a587bcb332e41ab5aa51e531a1f8ab6ad (diff)
downloadglibmm-202871d761e3b14dda986eb1d303bd514fd28cf3.tar.gz
Added bool specialization for Glib::ArrayHandle.
* glib/glibmm/arrayhandle.h: Added specialization for bool ArrayHandle. This is needed because std::vector<bool> is a specialization for which iterators does not return a reference to actual value it holds. * glib/glibmm/arrayhandle.cc: New file implementing destructor of bool ArrayHandle - the only method that is not inlined. * tests/glibmm_bool_arrayhandle/main.cc: New file implementing test checking if bool ArrayHandle actually works. * tests/Makefile.am: Added new test to build.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am52
1 files changed, 27 insertions, 25 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index c31d9cbf..d20d4a1e 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -17,20 +17,21 @@
AUTOMAKE_OPTIONS = subdir-objects
-check_PROGRAMS = \
- giomm_ioerror/test \
- giomm_simple/test \
- giomm_asyncresult_sourceobject/test \
- glibmm_btree/test \
- glibmm_date/test \
- glibmm_nodetree/test \
- glibmm_ustring_compose/test \
- glibmm_ustring_format/test \
- glibmm_value/test \
- glibmm_valuearray/test \
- glibmm_variant/test \
- glibmm_vector/test \
- glibmm_bool_vector/test
+check_PROGRAMS = \
+ giomm_ioerror/test \
+ giomm_simple/test \
+ giomm_asyncresult_sourceobject/test \
+ glibmm_btree/test \
+ glibmm_date/test \
+ glibmm_nodetree/test \
+ glibmm_ustring_compose/test \
+ glibmm_ustring_format/test \
+ glibmm_value/test \
+ glibmm_valuearray/test \
+ glibmm_variant/test \
+ glibmm_vector/test \
+ glibmm_bool_vector/test \
+ glibmm_bool_arrayhandle/test
glibmm_includes = -I$(top_builddir)/glib $(if $(srcdir:.=),-I$(top_srcdir)/glib)
giomm_includes = -I$(top_builddir)/gio $(if $(srcdir:.=),-I$(top_srcdir)/gio)
@@ -54,14 +55,15 @@ giomm_simple_test_LDADD = $(giomm_ldadd)
giomm_asyncresult_sourceobject_test_SOURCES = giomm_asyncresult_sourceobject/main.cc
giomm_asyncresult_sourceobject_test_LDADD = $(giomm_ldadd)
-glibmm_btree_test_SOURCES = glibmm_btree/main.cc
-glibmm_date_test_SOURCES = glibmm_date/main.cc
-glibmm_nodetree_test_SOURCES = glibmm_nodetree/main.cc
-glibmm_ustring_compose_test_SOURCES = glibmm_ustring_compose/main.cc
-glibmm_ustring_format_test_SOURCES = glibmm_ustring_format/main.cc
-glibmm_value_test_SOURCES = glibmm_value/glibmm_value.cc glibmm_value/main.cc
-glibmm_valuearray_test_SOURCES = glibmm_valuearray/main.cc
-glibmm_variant_test_SOURCES = glibmm_variant/main.cc
-glibmm_vector_test_SOURCES = glibmm_vector/main.cc
-glibmm_vector_test_LDADD = $(giomm_ldadd)
-glibmm_bool_vector_test_SOURCES = glibmm_bool_vector/main.cc
+glibmm_btree_test_SOURCES = glibmm_btree/main.cc
+glibmm_date_test_SOURCES = glibmm_date/main.cc
+glibmm_nodetree_test_SOURCES = glibmm_nodetree/main.cc
+glibmm_ustring_compose_test_SOURCES = glibmm_ustring_compose/main.cc
+glibmm_ustring_format_test_SOURCES = glibmm_ustring_format/main.cc
+glibmm_value_test_SOURCES = glibmm_value/glibmm_value.cc glibmm_value/main.cc
+glibmm_valuearray_test_SOURCES = glibmm_valuearray/main.cc
+glibmm_variant_test_SOURCES = glibmm_variant/main.cc
+glibmm_vector_test_SOURCES = glibmm_vector/main.cc
+glibmm_vector_test_LDADD = $(giomm_ldadd)
+glibmm_bool_vector_test_SOURCES = glibmm_bool_vector/main.cc
+glibmm_bool_arrayhandle_test_SOURCES = glibmm_bool_arrayhandle/main.cc