asan-dg.exp (asan_link_flags): Save ld_library_path.
authorMax Ostapenko <m.ostapenko@partner.samsung.com>
Fri, 10 Oct 2014 13:41:13 +0000 (16:41 +0300)
committerMaxim Ostapenko <chefmax@gcc.gnu.org>
Fri, 10 Oct 2014 13:41:13 +0000 (16:41 +0300)
commit06a04ce75ab48a0a1b539b2140cd22a746f4c030
treec29bb9a1b91340c95b913cc64a31906f7748044e
parent80363c2f0bf302e569c12d86352e4d086c2e6d4d
asan-dg.exp (asan_link_flags): Save ld_library_path.

gcc/testsuite/

2014-10-10  Max Ostapenko  <m.ostapenko@partner.samsung.com>

* lib/asan-dg.exp (asan_link_flags): Save ld_library_path.
(asan_finish): Remove restore_ld_library_path_env_vars.
Restore ld_library_path with saved value. Restore LD_LIBRARY_PATH
related env variables by calling set_ld_library_path_env_vars.
* lib/tsan-dg.exp (tsan_link_flags): Save ld_library_path.
(tsan_finish): Remove restore_ld_library_path_env_vars.
Restore ld_library_path with saved value. Restore LD_LIBRARY_PATH
related env variables by calling set_ld_library_path_env_vars.
* lib/ubsan-dg.exp (ubsan_link_flags): Save ld_library_path.
(ubsan_finish): Remove restore_ld_library_path_env_vars.
Restore ld_library_path with saved value. Restore LD_LIBRARY_PATH
related env variables by calling set_ld_library_path_env_vars.

From-SVN: r216082
gcc/testsuite/ChangeLog
gcc/testsuite/lib/asan-dg.exp
gcc/testsuite/lib/tsan-dg.exp
gcc/testsuite/lib/ubsan-dg.exp