about summary refs log tree commit diff
path: root/libio/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-17 00:27:46 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-17 00:27:46 +0000
commit897d4284e9abcd5effe2d8b5f9cd3685d351a5d2 (patch)
tree32f4ea6d77c8e9247677a571c0d2add3a9f5d154 /libio/Makefile
parent0bdfed74af5d792911a3a94e2e28dde398f7e61e (diff)
downloadglibc-897d4284e9abcd5effe2d8b5f9cd3685d351a5d2.tar.gz
glibc-897d4284e9abcd5effe2d8b5f9cd3685d351a5d2.tar.xz
glibc-897d4284e9abcd5effe2d8b5f9cd3685d351a5d2.zip
Update.
	* libio/Makefile: Add rules to build and run test-freopen.
	* libio/test-freopen.c: New file.
	* libio/test-freopen.sh: New file.
Diffstat (limited to 'libio/Makefile')
-rw-r--r--libio/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/libio/Makefile b/libio/Makefile
index 4bbdc31281..c8e047649c 100644
--- a/libio/Makefile
+++ b/libio/Makefile
@@ -49,6 +49,8 @@ routines	:=							      \
 
 tests = tst_swprintf tst_wprintf tst_swscanf tst_wscanf tst_getwc tst_putwc   \
 	tst_wprintf2 tst-widetext test-fmemopen
+test-srcs = test-freopen
+distribute = test-freopen.sh
 
 all: # Make this the default target; it will be defined in Rules.
 
@@ -95,3 +97,8 @@ shared-only-routines = oldiofopen oldiofdopen oldiofclose oldfileops	\
 distribute := iolibio.h libioP.h strfile.h Banner
 
 include ../Rules
+
+tests: $(objpfx)test-freopen.out
+
+$(objpfx)test-freopen.out: test-freopen.sh $(objpfx)test-freopen
+	$(SHELL) -e $< $(common-objpfx) $(common-objpfx)libio/