aboutsummaryrefslogtreecommitdiff
path: root/config/sim.exp
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@embecosm.com>2023-12-12 13:10:03 +0000
committerJacob Bachmeyer <jcb@gnu.org>2023-12-13 19:59:34 -0600
commitef0e2f97866f42e7197a26ef7ced3d30efacd9a8 (patch)
tree558180f9d20a4d1d48c0c037fce3650c30e4ba52 /config/sim.exp
parentfbdcba42176e9f76c1d9e898347c91abd8b86df1 (diff)
downloaddejagnu-ef0e2f97866f42e7197a26ef7ced3d30efacd9a8.zip
dejagnu-ef0e2f97866f42e7197a26ef7ced3d30efacd9a8.tar.gz
dejagnu-ef0e2f97866f42e7197a26ef7ced3d30efacd9a8.tar.bz2
Harmonise test execution reporting across protocols
Report both the full command and the timeout value consistently across various communication protocols, and always always output the report to the log file, so that procedures do not have to be locally overridden to extract this data where needed to reproduce an issue by hand. * baseboards/qemu.exp (qemu_load): Add execution reporting. * config/gdb-comm.exp (gdb_comm_load): Likewise. * config/gdb_stub.exp (gdb_stub_load): Likewise. * config/sim.exp (sim_load): Likewise. * config/unix.exp (unix_load): Report full command in addition to timeout value.
Diffstat (limited to 'config/sim.exp')
-rw-r--r--config/sim.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/sim.exp b/config/sim.exp
index ed5f67b..ce8c834 100644
--- a/config/sim.exp
+++ b/config/sim.exp
@@ -93,6 +93,8 @@ proc sim_load { dest prog args } {
set cmd $prog
}
+ verbose -log "Executing on $dest: $prog (timeout = $sim_time_limit)" 2
+
# Run the program with a limited amount of real time. While
# this isn't as nice as limiting the amount of CPU time, it
# will have to do.