This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 1/4][PR 71931] Fix libatomic tests
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- Cc: nd <nd at arm dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Date: Wed, 24 Aug 2016 22:08:39 +0000
- Subject: Re: [PATCH 1/4][PR 71931] Fix libatomic tests
- Authentication-results: sourceware.org; auth=none
- References: <57BDEFC5.4050207@arm.com> <57BDF021.6090207@arm.com>
On Wed, 24 Aug 2016, Szabolcs Nagy wrote:
> diff --git a/libatomic/testsuite/lib/libatomic.exp b/libatomic/testsuite/lib/libatomic.exp
> index cafab54..e374c64 100644
> --- a/libatomic/testsuite/lib/libatomic.exp
> +++ b/libatomic/testsuite/lib/libatomic.exp
> @@ -47,6 +47,8 @@ load_gcc_lib timeout.exp
> load_gcc_lib timeout-dg.exp
> load_gcc_lib fortran-modules.exp
>
> +load_file libatomic-test-support.exp
This approach looks like it would break installed testing. Such
information from the build tree should only be loaded when
TESTING_IN_BUILD_TREE is defined.
--
Joseph S. Myers
joseph@codesourcery.com