This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

attacking the dejagnu monster


For what it's worth -

upon reflection, it seems that dejagnu must be tackled from
a position of strength, so I'm going to read through all its
source code.  Perhaps that will give me the juju needed to
successfully run gcc's regression test suite remotely.  The
dejagnu and gcc documentation certainly don't (though the
remote testing tutorial in the dejagnu doc is a welcome addition;
maybe I'll add the missing 'remote testing of calc' section
as an exercise).

This involves printing out quite a few .exp file with enscript -2 -r,
and drinking large quantities of coffee at a coffeehouse :-)
To make it possible to follow the function calls without a computer
handy, I'm printing out a cross-reference table.  My cheezy hack
for cross-referencing the dejagnu source is:

grep -n '^proc' runtest.exp config/unix.exp lib/*.exp | sort +1 | sed 's/:proc/ /;s/:/ /;' | awk '{printf("%-30s %3d %s\n", $1, 1+$2/120, $3);}' | enscript -2 -r

I'm selfishly posting this as a way of archiving that little snippet
of shell for next time I need it :-)
- Dan

--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]