From 3c5b48ca8375629db5638e9275d7de17ed778169 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 17 Oct 2000 18:12:55 +0000 Subject: More updates --- test/string/.cvsignore | 2 ++ test/string/Makefile | 13 +++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'test/string') diff --git a/test/string/.cvsignore b/test/string/.cvsignore index 3f73ed9a9..06d4a21bb 100644 --- a/test/string/.cvsignore +++ b/test/string/.cvsignore @@ -2,3 +2,5 @@ string string.o string_glibc string_glibc.o +testcopy.out +testcopy.gnu.out diff --git a/test/string/Makefile b/test/string/Makefile index e8725db3f..4d9fdd25f 100644 --- a/test/string/Makefile +++ b/test/string/Makefile @@ -51,7 +51,7 @@ testcopy: testcopy.c Makefile $(TOPDIR)libc.a -@ echo " " $(CC) $(XCFLAGS) -c $< -o $@.o $(CC) $(XLDFLAGS) $@.o -o $@ $(EXTRA_LIBS) - -./$@ + -./$@ > testcopy.out -@ echo " " testcopy_glibc: testcopy.c Makefile $(TOPDIR)libc.a @@ -61,8 +61,17 @@ testcopy_glibc: testcopy.c Makefile $(TOPDIR)libc.a -@ echo " " $(CC) $(YCFLAGS) -c $< -o $@.o $(CC) $(YLDFLAGS) --static $@.o -o $@ - -./$@ + -./$@ > testcopy.gnu.out + -@ echo " " + +testcopy_diff: testcopy testcopy_glibc + -@ echo "-------" + -@ echo " " + -@ echo "Diffing output: " -@ echo " " + -diff -u testcopy.gnu.out testcopy.out + -@ echo " " + clean: rm -f *.[oa] *~ core $(TARGETS) -- cgit v1.2.3