about summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-07 20:59:15 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-07 20:59:15 +0000
commit95b04192abafe633b6bbf9235c6d61e1d79a5186 (patch)
treed68a2e6c6d94ebf2066d5bd6bdbdc195f1c4075a /stdio-common
parentf5dcffc5843ca0280403343e95d28156f4292cc3 (diff)
downloadglibc-95b04192abafe633b6bbf9235c6d61e1d79a5186.tar.gz
glibc-95b04192abafe633b6bbf9235c6d61e1d79a5186.tar.xz
glibc-95b04192abafe633b6bbf9235c6d61e1d79a5186.zip
(tests): Remove tst-printf here... (tests-srcs): ...and add it here. (distribute): Add tst-unbputc.sh and tst-printf.sh. Add rules to run tst-printf.sh.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index 1cffe9b65d..8c914c17a5 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -46,9 +46,9 @@ install-others := $(inst_includedir)/bits/stdio_lim.h
 
 aux	:= errlist siglist
 distribute := _itoa.h _itowa.h _i18n_itoa.h _i18n_itowa.h \
-	      printf-parse.h stdio_lim.h.in
+	      printf-parse.h stdio_lim.h.in tst-unbputc.sh tst-printf.sh
 
-tests := tst-printf tstscanf test_rdwr test-popen tstgetln test-fseek \
+tests := tstscanf test_rdwr test-popen tstgetln test-fseek \
 	 temptest tst-fileno test-fwrite tst-ungetc tst-ferror \
 	 xbug errnobug \
 	 bug1 bug2 bug3 bug4 bug5 bug6 bug7 bug8 bug9 bug10 bug11 bug12 bug13 \
@@ -56,17 +56,21 @@ 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
+test-srcs = tst-unbputc tst-printf
 
 include ../Rules
 
-.PHONY: do-tst-unbputc
-tests: do-tst-unbputc
+.PHONY: do-tst-unbputc do-tst-printf
+tests: do-tst-unbputc do-tst-printf
 
 do-tst-unbputc: $(objpfx)tst-unbputc.out
 $(objpfx)tst-unbputc.out: $(objpfx)tst-unbputc tst-unbputc.sh
 	$(SHELL) -e tst-unbputc.sh $(common-objpfx)
 
+do-tst-printf: $(objpfx)tst-printf.out
+$(objpfx)tst-printf.out: $(objpfx)tst-printf tst-printf.sh
+	$(SHELL) -e tst-printf.sh $(common-objpfx)
+
 CFLAGS-vfprintf.c = -Wno-uninitialized
 CFLAGS-tst-printf.c = -Wno-format
 CFLAGS-tstdiomisc.c = -Wno-format