While looking at some GCC testsuite failures that were occuring while testing with the qemu simulator I ran into a problem that I believe is due to a missing override of sim_exec in config/sim.exp.
Basically the script in GCC (gcc/testsuite/lib/profopt.exp) was running: remote_file build delete $execname1 to remove a file and this was being translated into a rsh/ssh command to my simulator baseboard as if it was a remote system. After some false leads I now believe that the problem is that config/sim.exp has overrides for load, upload, and download, but no override for exec. I made this patch to my dejagnu and now things are working, can this patch be checked in to the dejagnu source tree? Steve Ellcey sell...@mips.com 2014-02-14 Steve Ellcey <sell...@mips.com> * config/sim.exp (sim_exec): New. diff --git a/config/sim.exp b/config/sim.exp index ab83835..be5b6ce 100644 --- a/config/sim.exp +++ b/config/sim.exp @@ -133,6 +133,10 @@ proc sim_upload { dest srcfile args } { return [remote_upload host $srcfile $args] } +proc sim_exec { dest srcfile args } { + return [remote_exec host $srcfile $args] +} + set_board_info protocol "sim" # By default, assume the simulator is slow. This causes some tests _______________________________________________ DejaGnu mailing list DejaGnu@gnu.org https://lists.gnu.org/mailman/listinfo/dejagnu