TARGETS=arg_test
all: $(TARGETS)
-arg_test: arg_test.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+arg_test: arg_test.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ a b c d e f g h
+ ./$@ a b c d e f g h
-@ echo " "
clean:
TARGETS=assert
all: $(TARGETS)
-assert: assert.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+assert: assert.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@ ; ret=$$? ; test $$ret -eq 134
-@ echo " "
clean:
all: $(TARGETS)
-crypt: crypt.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+crypt: crypt.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ < crypt.input #> $@.out 2>&1
+ ./$@ < crypt.input #> $@.out 2>&1
-@ echo " "
-crypt_glibc: crypt.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+crypt_glibc: crypt.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs glibc: "
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ < crypt.input > $@.out 2>&1
+ ./$@ < crypt.input > $@.out 2>&1
-@ echo " "
diff: crypt_glibc crypt
-@ echo " "
-@ echo "Diffing output: "
-@ echo " "
- -diff -u crypt_glibc.out crypt.out
+ diff -u crypt_glibc.out crypt.out
-@ echo " "
-md5c-test: md5c-test.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+md5c-test: md5c-test.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
clean:
$(RM) *.[oa] *~ core crypt_glibc crypt crypt_glibc.out crypt.out md5c-test
-
-
TARGETS=ctype ctype_run
all: $(TARGETS)
-ctype: ctype.c ../testsuite.h Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+ctype: ctype.c ../testsuite.h Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
clean:
$(RM) *.o libtest1.so* libtest2.so* test1 test2 test3 \
dltest dltest2 libtest.so libtest3.so
-
TARGETS+=realloc0 realloc0_glibc
all: $(TARGETS)
-malloc: malloc.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+malloc: malloc.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
testmalloc_source:
-@ cat testmalloc.c
-@ echo " "
-testmalloc: testmalloc.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+testmalloc: testmalloc.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@
+ ./$@
-@ echo " "
testmalloc_glibc: testmalloc.c Makefile
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@
+ ./$@
-@ echo " "
-mallocbug: mallocbug.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+mallocbug: mallocbug.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@
+ ./$@
-@ echo " "
mallocbug_glibc: mallocbug.c Makefile
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@
+ ./$@
-@ echo " "
-realloc0: realloc0.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+realloc0: realloc0.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@
+ ./$@
-@ echo " "
realloc0_glibc: realloc0.c Makefile
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@
+ ./$@
-@ echo " "
test-double: test-double.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
- -./$@
+ ./$@
test-idouble: test-idouble.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
- -./$@
+ ./$@
test-float: test-float.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
- -./$@
+ ./$@
test-ifloat: test-ifloat.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
- -./$@
+ ./$@
test-ldouble: test-ldouble.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
- -./$@
+ ./$@
test-ildouble: test-ildoubl.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
- -./$@
+ ./$@
-rint: rint.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+rint: rint.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ > $@.out 2>&1
+ ./$@ > $@.out 2>&1
-@ echo " "
-rint_glibc: rint.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+rint_glibc: rint.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs glibc: "
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ > $@.out 2>&1
+ ./$@ > $@.out 2>&1
-@ echo " "
diff: rint_glibc rint
TARGETS=sem fdopen dirent_diff dirent64_diff #outb
all: $(TARGETS)
-outb: outb.c ../testsuite.h Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+outb: outb.c ../testsuite.h Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
./$@
-@ echo " "
-sem: sem.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+sem: sem.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
-fdopen: fdopen.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+fdopen: fdopen.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
dirent_source:
-@ cat dirent.c
-@ echo " "
-dirent: dirent.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+dirent: dirent.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ dirent.c > $@.out
+ ./$@ dirent.c > $@.out
-@ echo " "
dirent_glibc: dirent.c Makefile
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ dirent.c > $@.out
+ ./$@ dirent.c > $@.out
-@ echo " "
dirent_diff: dirent dirent_glibc
-diff -u dirent_glibc.out dirent.out
-@ echo " "
-dirent64: dirent.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+dirent64: dirent.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) $(CFLAGS64) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ dirent.c > $@.out
+ ./$@ dirent.c > $@.out
-@ echo " "
dirent64_glibc: dirent.c Makefile
$(HOSTCC) $(GLIBC_CFLAGS) $(CFLAGS64) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ dirent.c > $@.out
+ ./$@ dirent.c > $@.out
-@ echo " "
dirent64_diff: dirent64 dirent64_glibc
TARGETS=mmap
all: $(TARGETS)
-mmap: mmap.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+mmap: mmap.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
clean:
TARGETS=ex1 ex2 ex3 ex4 ex5 ex6 ex7
all: $(TARGETS)
-ex1: ex1.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+ex1: ex1.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
-ex2: ex2.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+ex2: ex2.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
-ex3: ex3.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+ex3: ex3.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
-ex4: ex4.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+ex4: ex4.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
-ex5: ex5.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+ex5: ex5.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
-ex6: ex6.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+ex6: ex6.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
-ex7: ex7.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+ex7: ex7.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
clean:
$(RM) *.[oa] *~ core $(TARGETS)
-
all: $(TARGETS)
-test_pwd: test_pwd.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+test_pwd: test_pwd.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ 2>&1 >test_pwd.out
+ ./$@ 2>&1 >test_pwd.out
-@ echo " "
test_pwd_glibc: test_pwd.c Makefile
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ 2>&1 >test_pwd_glibc.out
+ ./$@ 2>&1 >test_pwd_glibc.out
-@ echo " "
-test_grp: test_grp.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+test_grp: test_grp.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ 2>&1 >test_grp.out
+ ./$@ 2>&1 >test_grp.out
-@ echo " "
test_grp_glibc: test_grp.c Makefile
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ 2>&1 >test_grp_glibc.out
+ ./$@ 2>&1 >test_grp_glibc.out
-@ echo " "
-pwcat: pwcat.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+pwcat: pwcat.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ 2>&1 >pwcat.out
+ ./$@ 2>&1 >pwcat.out
-@ echo " "
pwcat_glibc: pwcat.c Makefile
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ 2>&1 >pwcat_glibc.out
+ ./$@ 2>&1 >pwcat_glibc.out
-@ echo " "
-grcat: grcat.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+grcat: grcat.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ 2>&1 >grcat.out
+ ./$@ 2>&1 >grcat.out
-@ echo " "
grcat_glibc: grcat.c Makefile
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ 2>&1 >grcat_glibc.out
+ ./$@ 2>&1 >grcat_glibc.out
-@ echo " "
-getgroups: getgroups.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+getgroups: getgroups.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ 2>&1 >getgroups.out
+ ./$@ 2>&1 >getgroups.out
-@ echo " "
getgroups_glibc: getgroups.c Makefile
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ 2>&1 >getgroups_glibc.out
+ ./$@ 2>&1 >getgroups_glibc.out
-@ echo " "
test_pwd_diff: test_pwd_glibc test_pwd
TARGETS=setjmp_test
all: $(TARGETS)
-setjmp_test: setjmp_test.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+setjmp_test: setjmp_test.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
clean:
TARGETS=signal signal_glibc sigchld sigchld_glibc
all: $(TARGETS)
-signal: signal.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+signal: signal.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
signal_glibc: signal.c Makefile
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
-sigchld: sigchld.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+sigchld: sigchld.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
sigchld_glibc: sigchld.c Makefile
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
clean:
-@ cat hello.c
-@ echo " "
-hello: hello.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+hello: hello.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@
+ ./$@
-@ echo " "
hello_glibc: hello.c Makefile
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@
+ ./$@
-@ echo " "
-tiny: tiny.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+tiny: tiny.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@
+ ./$@
-@ echo " "
-@ cat stat.c
-@ echo " "
-stat: stat.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+stat: stat.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ stat.c > $@.out
+ ./$@ stat.c > $@.out
-@ echo " "
stat_glibc: stat.c Makefile
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ stat.c > $@.out
+ ./$@ stat.c > $@.out
-@ echo " "
stat_diff: stat stat_glibc
-diff -u stat_glibc.out stat.out
-@ echo " "
-stat64: stat.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+stat64: stat.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) $(CFLAGS64) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ stat.c > $@.out
+ ./$@ stat.c > $@.out
-@ echo " "
stat64_glibc: stat.c Makefile
$(HOSTCC) $(GLIBC_CFLAGS) $(CFLAGS64) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ stat.c > $@.out
+ ./$@ stat.c > $@.out
-@ echo " "
stat64_diff: stat64 stat64_glibc
-@ cat teststrtol.c
-@ echo " "
-teststrtol: teststrtol.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+teststrtol: teststrtol.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@ > $@.out
+ ./$@ > $@.out
-@ echo " "
teststrtol_glibc: teststrtol.c Makefile
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@ > $@.out
+ ./$@ > $@.out
-@ echo " "
teststrtol_diff: teststrtol_glibc teststrtol
-diff -u teststrtol_glibc.out teststrtol.out
-@ echo " "
-qsort: qsort.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+qsort: qsort.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@ > $@.out
+ ./$@ > $@.out
-@ echo " "
qsort_glibc: qsort.c Makefile
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@ > $@.out
+ ./$@ > $@.out
-@ echo " "
qsort_diff: qsort_glibc qsort
-diff -u qsort_glibc.out qsort.out
-@ echo " "
-teston_exit: teston_exit.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+teston_exit: teston_exit.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@ > $@.out
+ ./$@ > $@.out
-@ echo " "
teston_exit_glibc: teston_exit.c Makefile
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@ > $@.out
+ ./$@ > $@.out
-@ echo " "
teston_exit_diff: teston_exit_glibc teston_exit
-diff -u teston_exit_glibc.out teston_exit.out
-@ echo " "
-testatexit: testatexit.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+testatexit: testatexit.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@ > $@.out
+ ./$@ > $@.out
-@ echo " "
testatexit_glibc: testatexit.c Makefile
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@ > $@.out
+ ./$@ > $@.out
-@ echo " "
testatexit_diff: testatexit_glibc testatexit
-diff -u testatexit_glibc.out testatexit.out
-@ echo " "
-ptytest: ptytest.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+ptytest: ptytest.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@
+ ./$@
-@ echo " "
all: $(TARGETS)
-string: string.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+string: string.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
string_glibc: string.c Makefile
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
-testcopy: testcopy.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+testcopy: testcopy.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ > testcopy.out
+ ./$@ > testcopy.out
-@ echo " "
testcopy_glibc: testcopy.c Makefile
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@ > testcopy.gnu.out
+ ./$@ > testcopy.gnu.out
-@ echo " "
testcopy_diff: testcopy testcopy_glibc
-@ echo " "
-strerror: ../../libc/string/strerror.c $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+strerror: ../../libc/string/strerror.c $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(CC) $(CFLAGS) -DCHECK_BUF -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
strsignal: ../../libc/string/strsignal.c
$(CC) $(CFLAGS) -DCHECK_BUF -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
all: $(TARGETS)
-termios: termios.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+termios: termios.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@
+ ./$@
-@ echo " "
termios_glibc: termios.c Makefile
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@
+ ./$@
-@ echo " "
clean:
TARGETS=fork fork_glibc vfork vfork_glibc getcwd getopt getopt_long preadwrite
all: $(TARGETS)
-getcwd: getcwd.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+getcwd: getcwd.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
./$@
-@ echo " "
-fork: fork.c ../testsuite.h Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+fork: fork.c ../testsuite.h Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
-vfork: vfork.c ../testsuite.h Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+vfork: vfork.c ../testsuite.h Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
-getopt: getopt.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+getopt: getopt.c Makefile $(TESTDIR)/Rules.mak
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
./$@ -abcXXX -9
-@ echo " "
-getopt_long: getopt_long.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+getopt_long: getopt_long.c Makefile $(TESTDIR)/Rules.mak
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
./$@ --add XXX --delete YYY --verbose
-@ echo " "
-preadwrite: preadwrite.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+preadwrite: preadwrite.c Makefile $(TESTDIR)/Rules.mak
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@