This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Fri, 2002-06-28 at 15:38, cgd@broadcom.com wrote: > I was looking at the newlib web page, and noted the comment: > > "A nice testsuite to automate the testing of newlib is also > needed." > > > As part of testing: > > http://sources.redhat.com/ml/newlib/2002/msg00278.html > > i wanted to run the existing testsuite (and, indeed, add something to > it!). However, in my build tree trying to 'make check-target-newlib' > failed for all tests, due to the header files not being where > expected? > You'll need a site.exp in your home directory which points dejagnu to the proper baseboards directory and the proper exp file for your target. Before running make check-target-newlib, set the DEJAGNU environment variable to point to ~/site.exp. I've attached a site.exp file that worked for me when testing the mips-elf target (apart from some little-endian compile problems that I'll look into next week). You'll need to add the other targets you're testing to the case statement. Look at dejagnu/baseboards/mips*.exp for all the mips variants. > Is this "normal" for the newlib testsuite? (and, if so, what's the > usual way of running it to get around the problem?) > Yes it's normal -- configuring dejagnu is a delicate process :-) I'm going to add a "Running the testsuite" section to the README, and perhaps I'll include a sample site.exp file. It's all in the Dejagnu manual, but it's probably more efficient to store the info locally as well. The testsuite's relatively new; thanks for being an "early adopter" :) Tom -- Thomas Fitzsimmons Red Hat Canada Limited e-mail: fitzsim@redhat.com 2323 Yonge Street, Suite 300 Toronto, ON M4P2C9
Attachment:
site.exp
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |