This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix hardcoded /tmp paths in testing (bug 13888)
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Tue, 26 Jun 2018 22:57:35 +0200
- Subject: Re: Fix hardcoded /tmp paths in testing (bug 13888)
- References: <alpine.DEB.2.20.1806221611080.23994@digraph.polyomino.org.uk>
* Joseph Myers:
> +CFLAGS-bug3.c += -DOBJPFX=\"$(objpfx)\"
> +CFLAGS-bug4.c += -DOBJPFX=\"$(objpfx)\"
> +CFLAGS-bug5.c += -DOBJPFX=\"$(objpfx)\"
> +CFLAGS-test-fseek.c += -DOBJPFX=\"$(objpfx)\"
> +CFLAGS-test-popen.c += -DOBJPFX=\"$(objpfx)\"
> +CFLAGS-test_rdwr.c += -DOBJPFX=\"$(objpfx)\"
There is some overlap here with DJ's test-in-container patch, which
also needs to find a test directory (although there it is
$(common-objpfx)).
Should we make this available in a more general way, perhaps as a
subdir-specific header file, or by changing the make rule for
compiling tests?