about summary refs log tree commit diff
path: root/posix/Makefile
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-01-10 14:14:55 -0800
committerH.J. Lu <hjl.tools@gmail.com>2013-01-10 14:14:55 -0800
commit4cf8f2098f227d32f3b73c70a6498c84872c24ba (patch)
tree44521528be24870c4fe10f353172a6faf0e24329 /posix/Makefile
parent828beb132ddf5664cf9971329e8cdcb93dce43af (diff)
downloadglibc-4cf8f2098f227d32f3b73c70a6498c84872c24ba.tar.gz
glibc-4cf8f2098f227d32f3b73c70a6498c84872c24ba.tar.xz
glibc-4cf8f2098f227d32f3b73c70a6498c84872c24ba.zip
Support run tst-exec and tst-spawn directly
Diffstat (limited to 'posix/Makefile')
-rw-r--r--posix/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/posix/Makefile b/posix/Makefile
index ce98c596d0..fda6e13bda 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -92,6 +92,8 @@ ifeq (yes,$(build-shared))
 test-srcs	:= globtest
 tests           += wordexp-test tst-exec tst-spawn
 endif
+tests-static	= tst-exec-static tst-spawn-static
+tests		+= $(tests-static)
 others		:= getconf
 install-bin	:= getconf
 install-others-programs	:= $(inst_libexecdir)/getconf
@@ -172,7 +174,9 @@ tstgetopt-ARGS = -a -b -cfoobar --required foobar --optional=bazbug \
 		--none random --col --color --colour
 
 tst-exec-ARGS = -- $(host-built-program-cmd)
+tst-exec-static-ARGS = $(tst-exec-ARGS)
 tst-spawn-ARGS = -- $(host-built-program-cmd)
+tst-spawn-static-ARGS = $(tst-spawn-ARGS)
 tst-dir-ARGS = `pwd` `cd $(common-objdir)/$(subdir); pwd` `cd $(common-objdir); pwd` $(objpfx)tst-dir
 tst-chmod-ARGS = $(objdir)
 tst-vfork3-ARGS = --test-dir=$(objpfx)