(tests): Add tst-dir. (tst-dir-ARGS): New variable.
authorUlrich Drepper <drepper@redhat.com>
Thu, 7 Sep 2000 08:27:17 +0000 (08:27 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 7 Sep 2000 08:27:17 +0000 (08:27 +0000)
posix/Makefile

index 24a8c67..3430d3c 100644 (file)
@@ -68,7 +68,7 @@ aux           := init-posix environ
 tests          := tstgetopt testfnm runtests runptests      \
                   tst-preadwrite tst-preadwrite64 test-vfork regexbug1 \
                   tst-getlogin tst-mmap tst-getaddrinfo tst-truncate \
-                  tst-truncate64 tst-fork tst-fnmatch tst-regexloc
+                  tst-truncate64 tst-fork tst-fnmatch tst-regexloc tst-dir
 ifeq (yes,$(build-shared))
 test-srcs      := globtest
 tests           += wordexp-test tst-exec tst-spawn
@@ -113,6 +113,7 @@ tstgetopt-ARGS = -a -b -cfoobar --required foobar --optional=bazbug \
 
 tst-exec-ARGS = -- $(built-program-cmd)
 tst-spawn-ARGS = -- $(built-program-cmd)
+tst-dir-ARGS = `pwd` "$(objdir)/$(subdir)" "$(common-objdir)" $(objpfx)tst-dir
 
 tst-fnmatch-ENV = LOCPATH=$(common-objpfx)localedata
 tst-regexloc-ENV = LOCPATH=$(common-objpfx)localedata