summaryrefslogtreecommitdiff
path: root/test/stdlib/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-10-17 11:15:14 +0000
committerEric Andersen <andersen@codepoet.org>2002-10-17 11:15:14 +0000
commit6343d9e51dff0b86bd5b6d9f6aca2e155aba5549 (patch)
tree8a8b7b14c596713e28cb55c8562d42949ee5f3d9 /test/stdlib/Makefile
parentdb7c5027f4dfaa1cb83d25f7284d124bee4eb574 (diff)
Add a test from Alex King <alex@morrison.king.net.nz> which
shows a failure in ptsname when ASSUME_DEVPTS=false -Erik
Diffstat (limited to 'test/stdlib/Makefile')
-rw-r--r--test/stdlib/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/stdlib/Makefile b/test/stdlib/Makefile
index 5f2f12b16..957d324b0 100644
--- a/test/stdlib/Makefile
+++ b/test/stdlib/Makefile
@@ -25,6 +25,7 @@ TARGETS+=teststrtol teststrtol_glibc teststrtol_diff
TARGETS+=qsort qsort_glibc qsort_diff
TARGETS+=teston_exit teston_exit_glibc teston_exit_diff
TARGETS+=testatexit testatexit_glibc testatexit_diff
+TARGETS+=ptytest
all: $(TARGETS)
@@ -171,6 +172,19 @@ testatexit_diff: testatexit_glibc testatexit
-diff -u testatexit_glibc.out testatexit.out
-@ echo " "
+ptytest: ptytest.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC)
+ -@ echo "-------"
+ -@ echo " "
+ -@ echo "Compiling vs uClibc: "
+ -@ echo " "
+ $(CC) $(CFLAGS) -c $< -o $@.o
+ $(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
+ $(STRIPTOOL) -x -R .note -R .comment $@
+ -$(LDD) $@
+ ls -l $@
+ -./$@
+ -@ echo " "
+
clean:
rm -f *.[oa] *~ core $(TARGETS) *.out