about summary refs log tree commit diff
path: root/stdio-common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/Makefile')
-rw-r--r--stdio-common/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index 85f3b8ec1a..1cffe9b65d 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -56,8 +56,17 @@ tests := tst-printf tstscanf test_rdwr test-popen tstgetln test-fseek \
 	 scanf1 scanf2 scanf3 scanf4 scanf5 scanf7 scanf8 scanf9 scanf10 \
 	 scanf12 tst-tmpnam tst-cookie tst-obprintf
 
+test-srcs = tst-unbputc
+
 include ../Rules
 
+.PHONY: do-tst-unbputc
+tests: do-tst-unbputc
+
+do-tst-unbputc: $(objpfx)tst-unbputc.out
+$(objpfx)tst-unbputc.out: $(objpfx)tst-unbputc tst-unbputc.sh
+	$(SHELL) -e tst-unbputc.sh $(common-objpfx)
+
 CFLAGS-vfprintf.c = -Wno-uninitialized
 CFLAGS-tst-printf.c = -Wno-format
 CFLAGS-tstdiomisc.c = -Wno-format