|
From: Jeremy F. <je...@go...> - 2005-01-17 22:37:38
|
CVS commit by fitzhardinge:
Add tests to check stack-growth happens properly. Also, re-instate TLS
tests, with an appropraite pre-req to check they only run on TLS systems.
A sigstackgrowth.c 1.1 [no copyright]
A sigstackgrowth.stderr.exp 1.1
A sigstackgrowth.stdout.exp 1.1
A sigstackgrowth.vgtest 1.1
A stackgrowth.c 1.1 [no copyright]
A stackgrowth.stderr.exp 1.1
A stackgrowth.stdout.exp 1.1
A stackgrowth.vgtest 1.1
M +16 -10 Makefile.am 1.58
M +1 -0 tls.vgtest 1.3
--- valgrind/none/tests/Makefile.am #1.57:1.58
@@ -52,5 +52,7 @@
shorts.stderr.exp shorts.vgtest \
sigcontext.stdout.exp sigcontext.stderr.exp sigcontext.vgtest \
+ sigstackgrowth.stdout.exp sigstackgrowth.stderr.exp sigstackgrowth.vgtest \
smc1.stderr.exp smc1.stdout.exp smc1.vgtest \
+ stackgrowth.stdout.exp stackgrowth.stderr.exp stackgrowth.vgtest \
syscall-restart1.vgtest syscall-restart1.stdout.exp syscall-restart1.stderr.exp \
syscall-restart2.vgtest syscall-restart2.stdout.exp syscall-restart2.stderr.exp \
@@ -66,6 +68,8 @@
resolv rlimit_nofile sem semlimit sha1_test \
shortpush shorts sigcontext \
+ stackgrowth sigstackgrowth \
smc1 susphello pending pth_blockedsig pth_stackalign \
syscall-restart1 syscall-restart2 system \
+ tls tls.so tls2.so \
coolo_sigaction gxx304 yield
@@ -109,19 +113,21 @@
shorts_SOURCES = shorts.c
sigcontext_SOURCES = sigcontext.c
+sigstackgrowth_SOURCES = sigstackgrowth.c
susphello_SOURCES = susphello.c
susphello_LDADD = -lpthread
+stackgrowth_SOURCES = stackgrowth.c
syscall_restart1_SOURCES = syscall-restart1.c
syscall_restart2_SOURCES = syscall-restart2.c
system_SOURCES = system.c
-#tls_SOURCES = tls.c tls2.c
-#tls_DEPENDENCIES = tls.so
-#tls_LDFLAGS = -Wl,-rpath,$(srcdir)
-#tls_LDADD = tls.so -lpthread
-#tls_so_SOURCES = tls_so.c
-#tls_so_LDADD = tls2.so
-#tls_so_DEPENDENCIES = tls2.so
-#tls_so_LDFLAGS = -Wl,-rpath,$(srcdir) -shared
-#tls2_so_SOURCES = tls2_so.c
-#tls2_so_LDFLAGS = -shared
+tls_SOURCES = tls.c tls2.c
+tls_DEPENDENCIES = tls.so
+tls_LDFLAGS = -Wl,-rpath,$(srcdir)
+tls_LDADD = tls.so -lpthread
+tls_so_SOURCES = tls_so.c
+tls_so_LDADD = tls2.so
+tls_so_DEPENDENCIES = tls2.so
+tls_so_LDFLAGS = -Wl,-rpath,$(srcdir) -shared
+tls2_so_SOURCES = tls2_so.c
+tls2_so_LDFLAGS = -shared
yield_SOURCES = yield.c
yield_CFLAGS = $(AM_CFLAGS) -D__$(VG_ARCH)__
|