diff --git a/src/Makefile.am b/src/Makefile.am index 109572dad..5ed629217 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -384,9 +384,9 @@ dump_use_data_SOURCES = dump-use-data.cc hb-ot-shape-complex-use-table.cc dump_use_data_CPPFLAGS = $(HBCFLAGS) dump_use_data_LDADD = libharfbuzz.la $(HBLIBS) -compiled_tests = test-iter test-ot-tag test-unicode-ranges -check_PROGRAMS += $(compiled_tests) -TESTS += $(compiled_tests) +COMPILED_TESTS = test-iter test-ot-tag test-unicode-ranges +check_PROGRAMS += $(COMPILED_TESTS) +TESTS += $(COMPILED_TESTS) test_iter_SOURCES = test-iter.cc hb-static.cc test_iter_CPPFLAGS = $(HBCFLAGS) -DMAIN diff --git a/src/test-iter.cc b/src/test-iter.cc index 173de966d..8eb35e511 100644 --- a/src/test-iter.cc +++ b/src/test-iter.cc @@ -71,7 +71,6 @@ hb_copy (hb_iter_t id, hb_iter_t is) { for (; id && is; ++id, ++is) *id = *is; - return !id; }