about summary refs log tree commit diff
path: root/iconv/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-09-20 13:10:54 +0200
committerFlorian Weimer <fweimer@redhat.com>2024-09-20 13:51:09 +0200
commit422ed8ede312f786369e4850e47b8d32beaae4e4 (patch)
tree6fb7b0fc63c06765c0e9d7fc8c7ad3eed9ad5a15 /iconv/Makefile
parent751a5502bea1d13551c62c47bb9bd25bff870cda (diff)
downloadglibc-422ed8ede312f786369e4850e47b8d32beaae4e4.tar.gz
glibc-422ed8ede312f786369e4850e47b8d32beaae4e4.tar.xz
glibc-422ed8ede312f786369e4850e47b8d32beaae4e4.zip
iconv: Base tests for buffer management
Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'iconv/Makefile')
-rw-r--r--iconv/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/iconv/Makefile b/iconv/Makefile
index 65b4a44ab8..b0fa550141 100644
--- a/iconv/Makefile
+++ b/iconv/Makefile
@@ -76,8 +76,11 @@ include $(patsubst %,$(..)libof-iterator.mk,$(cpp-srcs-left))
 
 ifeq ($(run-built-tests),yes)
 xtests-special += $(objpfx)test-iconvconfig.out
-tests-special += $(objpfx)tst-iconv_prog.out
-tests-special += $(objpfx)tst-translit-mchar.out
+tests-special += \
+	$(objpfx)tst-iconv_prog-buffer.out \
+	$(objpfx)tst-iconv_prog.out \
+	$(objpfx)tst-translit-mchar.out \
+	# tests-special
 endif
 
 # Make a copy of the file because gconv module names are constructed
@@ -141,3 +144,8 @@ $(objpfx)tst-translit-mchar.out: tst-translit-mchar.sh \
 		 '$(run-program-env)' '$(run-program-prefix-after-env)' \
 		 $< > $@; \
 	$(evaluate-test)
+
+$(objpfx)tst-iconv_prog-buffer.out: \
+  tst-iconv_prog-buffer.sh $(objpfx)iconv_prog
+	$(BASH) $< $(common-objdir) '$(test-program-prefix)' > $@; \
+	$(evaluate-test)