From e9520752489298e0ce1a08da10ec3d439f9356d9 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 21 Dec 2018 11:15:16 -0500 Subject: [PATCH] Minor --- src/Makefile.am | 6 +++--- src/test-iter.cc | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 109572d..5ed6292 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 173de96..8eb35e5 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; } -- 2.7.4