Skip to content

Commit db00552

Browse files
Shahab Vaheditemap
authored andcommitted
Revert "dejagnu: launch nsimdrv under time utility"
This reverts commit 6f75537. On a Debian machine without the "time" executable (/usr/bin/time), the shell builtin is used which doesn't accept "-p" flag, which leads to a misleading error in the log: Simulator time -p /path/to/nsim/bin/nsimdrv ... missing. FAIL: gcc.dg/20000623-1.c execution test Since this change was only for debugging purposes, I don't see the point to craft it even fruther like using "command -v time" or optional "-p" flags, etc. Let's keep it simple.
1 parent f06d923 commit db00552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dejagnu/baseboards/arc-sim-nsimdrv.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ if { [info exists env(ARC_NSIM_OPTS) ] } {
277277
}
278278

279279
# Setup nSIM.
280-
set_board_info sim "time -p $nsim_bin [join $nsim_flags]"
280+
set_board_info sim "$nsim_bin [join $nsim_flags]"
281281
# is_simulator should be set already by 'load_generic_config "sim"'. Do it here
282282
# to be safe.
283283
set_board_info is_simulator 1

0 commit comments

Comments
 (0)