]> git.ipfire.org Git - thirdparty/gcc.git/commit
Testsuite: allow non-installed testing on darwin
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 16 Apr 2021 19:01:40 +0000 (20:01 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 22 Oct 2023 18:30:54 +0000 (19:30 +0100)
commita0673ec5f9236dca6ada23f28343c591ccd575e4
treea5a68e60bad2b9506b27f7872ff88688dec01f5c
parent8fe73ef2785837dbebee7c56d5f30211571b2773
Testsuite: allow non-installed testing on darwin

DYLD_LIBRARY_PATH is now removed from the environment for all system
tools, including the shell. Adapt the testsuite and pass the right
options to allow testing, even when the compiler and libraries have not
been installed.

gcc/ChangeLog:

* Makefile.in: set ENABLE_DARWIN_AT_RPATH in site.tmp.

gcc/testsuite/ChangeLog:

* gfortran.dg/coarray/caf.exp: Correctly set
libatomic flags.
* gfortran.dg/dg.exp: Likewise.
* lib/asan-dg.exp: Set correct -B flags.
* lib/atomic-dg.exp: Likewise.
* lib/target-libpath.exp: Handle ENABLE_DARWIN_AT_RPATH.

libatomic/ChangeLog:

* testsuite/lib/libatomic.exp: Pass correct flags on darwin.

libffi/ChangeLog:

* testsuite/lib/libffi.exp: Likewise.

libitm/ChangeLog:

* testsuite/lib/libitm.exp: Likewise.
* testsuite/libitm.c++/c++.exp: Likewise.
gcc/Makefile.in
gcc/testsuite/gfortran.dg/coarray/caf.exp
gcc/testsuite/gfortran.dg/dg.exp
gcc/testsuite/lib/asan-dg.exp
gcc/testsuite/lib/atomic-dg.exp
gcc/testsuite/lib/target-libpath.exp
libatomic/testsuite/lib/libatomic.exp
libffi/testsuite/lib/libffi.exp
libitm/testsuite/lib/libitm.exp
libitm/testsuite/libitm.c++/c++.exp