Test build failed due to UCLIBC_INTERNAL header rework

Bernhard Fischer rep.dot.nop at gmail.com
Wed Jun 11 14:22:55 UTC 2008

On Wed, Jun 11, 2008 at 04:10:23PM +0200, Bernd Schmidt wrote:
>Daniel Jacobowitz wrote:
>> I have no comment on the patch itself, but I like the approach - I've
>> concluded before that this is the only sane way to test toolchain
>> pieces, especially compiler or C library.  We do all of our testing
>> after installation here.
>My patch doesn't really create a full installation tree that looks 
>identical to the one created by 'make install'; that might require 
>somewhat more effort (unless we want to just $(MAKE) install 
>DESTDIR=somewhere/in/tree for every make test).

A better approach would be to just

test-includes: test/include/bits/uClibc_config.h
	$(make) -C $(top_builddir) PREFIX=test/ RUNTIME_PREFIX=test/ \
	eventual_flags_passing_here \

i.e. do a real, full install an no fakery.

More information about the uClibc mailing list