[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test rig first cut



On Tue, Jul 08, 2003 at 02:56:46PM -0700, Remco Treffkorn wrote:
> 
> The attached tar file contains only files I have added or changed in libc.

don't see any attachment.. 

> I am unfamiliar with the Rules.make thingy. The new one in sysdeps/linux/ppc 
> is probably incorrect/incomplete.

should be sysdeps/linux and sysdeps/powerpc/linux

> The crt stuff should probably go in to sysdeps/linux/ppc as well.

sysdeps/powerpc/linux if its asm.

> The prom type in libc/Makefile is now 
> PROM_TYPE    := linux/$(ARCH)

this is wrong.  it should be PROM_TYPE := linux

also this shouldn't be fiddled with in the Makefile itself, eventually
i will move this variable out to a included file, generated by some
sort of ./configure script (NOT autocruft based, i can't stand autocruft).

> and ARCH must be evaluated before this.

nope, see above.

> First test results: printf and friends seems to have trouble.
>    printf("Hello, World..\n");
> prints correctly.
>    printf("A cube has %d sides\n", 6);
> prints not six, but a very high number.
> I'am on it...

interesting, i know vsnprintf works since i was able to test that via
LD_PRELOAD (make prom-libc.so).

also you might want to look at the start of my testsuite:

$ tla register-archive erbenson@alaska.net--public \
        ftp://ftp.penguinppc.org/users/eb/arch/public

   Or if you prefer http:
$ tla register-archive erbenson@alaska.net--public \
        http://ftp.penguinppc.org/users/eb/arch/public

$ tla get erbenson@alaska.net--public/libc-test--devel--1.0 libc-test


thanks.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgp00015.pgp
Description: PGP signature