Hi Tom On Tue, Feb 12, 2008 at 05:36:27AM -0600, Tom Browder wrote:
> Is there any way currently to run a large testsuite, such as in GCC, > using multiple processors or distributed processing? As it happens, yes, but only because of GCC's own test harness, not through any current capability of DejaGnu's. This snippet in gcc/Makefile.in tells you how to do this: # The idea is to parallelize testing of multilibs, for example: # make -j3 check-gcc//sh-hms-sim/{-m1,-m2,-m3,-m3e,-m4}/{,-nofpu} # will run 3 concurrent sessions of check-gcc, eventually testing # all 10 combinations. GNU make is required, as is a shell that expands # alternations within braces. lang_checks_parallel = $(lang_checks:=//%) $(lang_checks_parallel): site.exp target=`echo "$@" | sed 's,//.*,,'`; \ variant=`echo "$@" | sed 's,^[^/]*//,,'`; \ vardots=`echo "$$variant" | sed 's,/,.,g'`; \ $(MAKE) TESTSUITEDIR="testsuite.$$vardots" \ RUNTESTFLAGS="--target_board=$$variant $(RUNTESTFLAGS)" \ "$$target" Cheers, Ben _______________________________________________ DejaGnu mailing list DejaGnu@gnu.org http://lists.gnu.org/mailman/listinfo/dejagnu