Testing with --target=FOO

Frank Ch. Eigler fche@redhat.com
Fri May 11 04:20:00 GMT 2001


Hi -

bje wrote:
: When --target= is specified to sid's configure script, the sid
: Makefiles build generic components and components related to that
: target.  [...]
: This causes problems when testing builds with --target specified.
: Many of the generic components require a CPU component as part of the
: simulation to be tested.  [...]

Which ones?  Back when we only had an arm model to work with, we
were expedient and hard-coded tests to use that.  But now, with
many more ports in-house, those old tests should generally be
made cpu-independent, or replicated in multiple cpu-dependent
copies, as appropriate.

: Ideas I have had thus far (in increasing order of preference):
: 
:  + Mark such tests as "untested".

Maybe.

:  + Build a small dummy CPU component that can be compiled
:    unconditionally.  This will take time to write and may not be
:    adequate for the kinds of tests we need to do.

Nah.

:  + Build the arm7t model unconditionally, regardless of the target.
:    Only the cpu is required as far as I can tell.

Can you provide more details on why some canonical cpu is required
for what are presumably non-cpu tests?


or #4:

+  Change the test suite.


- FChE
-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6+8riVZbdDOm/ZT0RAgVPAJ469qO/JPqD0MxAFaEfPg6KglEyoQCcDrrt
9AXKZeZMoFg6gQl/oj8l1vI=
=sCDK
-----END PGP SIGNATURE-----


More information about the Sid mailing list