diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2013-01-11 07:14:18 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2013-01-11 07:14:18 -0800 |
commit | 740b3dbee8ef034019b240dc4838b39dfa0c01e2 (patch) | |
tree | 6b4caa77b597058c873bd5df2e0f7a859327c90a /nptl | |
parent | c6fe55cf6089fc5cf1cea15fc7e1c9a8b90d9fda (diff) | |
download | glibc-740b3dbee8ef034019b240dc4838b39dfa0c01e2.tar.gz glibc-740b3dbee8ef034019b240dc4838b39dfa0c01e2.tar.xz glibc-740b3dbee8ef034019b240dc4838b39dfa0c01e2.zip |
Add --enable-hardcoded-path-in-tests configure option
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 17 | ||||
-rw-r--r-- | nptl/Makefile | 12 | ||||
-rwxr-xr-x | nptl/tst-tls6.sh | 6 |
3 files changed, 23 insertions, 12 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index f4cd57a919..33152e2550 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,16 @@ +2013-01-11 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile (tst-cancel7-ARGS: Replace $(host-built-program-cmd) + with $(host-test-program-cmd). + (tst-exec4-ARGS): Likewise. + (tst-stackguard1-ARGS): Likewise. + ($(objpfx)tst-tls6.out): Don't pass $(elf-objpfx) to tst-tls6.sh. + Replace $(rtld-installed-name) with $(test-via-rtld-prefix). + * tst-tls6.sh (elf_objpfx): Removed. + (rtld_installed_name): Renamed to ... + (test_via_rtld_prefix): This. + (tst_tls5): Prepend ${test_via_rtld_prefix}. + 2013-01-02 Joseph Myers <joseph@codesourcery.com> * All files with FSF copyright notices: Update copyright dates @@ -10,9 +23,9 @@ 2012-12-28 Andi Kleen <ak@linux.intel.com> - * pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock): Convert + * pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock): Convert to prototype. - * pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock): + * pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock): Likewise. 2012-12-27 David S. Miller <davem@davemloft.net> diff --git a/nptl/Makefile b/nptl/Makefile index 7568ae0d35..6af4b37af4 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -437,7 +437,7 @@ CFLAGS-tst-initializers1-c99.c = $(CFLAGS-tst-initializers1-<) CFLAGS-tst-initializers1-gnu89.c = $(CFLAGS-tst-initializers1-<) CFLAGS-tst-initializers1-gnu99.c = $(CFLAGS-tst-initializers1-<) -tst-cancel7-ARGS = --command "exec $(host-built-program-cmd)" +tst-cancel7-ARGS = --command "exec $(host-test-program-cmd)" tst-cancelx7-ARGS = $(tst-cancel7-ARGS) tst-umask1-ARGS = $(objpfx)tst-umask1.temp @@ -477,8 +477,8 @@ $(objpfx)tst-tls6.out: tst-tls6.sh $(objpfx)tst-tls5 \ $(objpfx)tst-tls5moda.so $(objpfx)tst-tls5modb.so \ $(objpfx)tst-tls5modc.so $(objpfx)tst-tls5modd.so \ $(objpfx)tst-tls5mode.so $(objpfx)tst-tls5modf.so - $(BASH) $< $(common-objpfx) $(elf-objpfx) \ - $(rtld-installed-name) '$(test-wrapper-env)' + $(BASH) $< $(common-objpfx) '$(test-via-rtld-prefix)' \ + '$(test-wrapper-env)' endif $(objpfx)tst-dlsym1: $(libdl) $(shared-thread-library) @@ -580,7 +580,7 @@ $(objpfx)tst-cancel-wrappers.out: tst-cancel-wrappers.sh endif endif -tst-exec4-ARGS = $(host-built-program-cmd) +tst-exec4-ARGS = $(host-test-program-cmd) $(objpfx)tst-execstack: $(libdl) $(objpfx)tst-execstack.out: $(objpfx)tst-execstack-mod.so @@ -588,14 +588,14 @@ LDFLAGS-tst-execstack = -Wl,-z,noexecstack $(objpfx)tst-fini1mod.so: $(shared-thread-library) -tst-stackguard1-ARGS = --command "$(host-built-program-cmd) --child" +tst-stackguard1-ARGS = --command "$(host-test-program-cmd) --child" tst-stackguard1-static-ARGS = --command "$(objpfx)tst-stackguard1-static --child" ifeq ($(run-built-tests),yes) tests: $(objpfx)tst-oddstacklimit.out $(objpfx)tst-oddstacklimit.out: $(objpfx)tst-oddstacklimit $(objpfx)tst-basic1 - $(run-program-prefix) $< --command '$(host-built-program-cmd)' > $@ + $(test-program-prefix) $< --command '$(host-test-program-cmd)' > $@ endif # The tests here better do not run in parallel diff --git a/nptl/tst-tls6.sh b/nptl/tst-tls6.sh index d5513a5e9e..fb2351208f 100755 --- a/nptl/tst-tls6.sh +++ b/nptl/tst-tls6.sh @@ -20,15 +20,13 @@ set -e common_objpfx=$1; shift -elf_objpfx=$1; shift -rtld_installed_name=$1; shift +test_via_rtld_prefix=$1; shift test_wrapper_env=$1; shift logfile=$common_objpfx/nptl/tst-tls6.out # We have to find libc and nptl library_path=${common_objpfx}:${common_objpfx}nptl -tst_tls5="${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \ - ${common_objpfx}/nptl/tst-tls5" +tst_tls5="${test_via_rtld_prefix} ${common_objpfx}/nptl/tst-tls5" LC_ALL=C export LC_ALL |