"gdb/testsuite/lib/gen-perf-test.exp",
"gdb/testsuite/lib/mi-support.exp",
"gdb/testsuite/lib/pascal.exp",
-"gdb/testsuite/lib/perftest.exp",
"gdb/testsuite/lib/prelink-support.exp",
"gdb/testsuite/lib/trace-support.exp",
# IGNORE (document reason in trailing comment):
proc assemble {compile startup run} {
global GDB_PERFTEST_MODE
- if ![info exists GDB_PERFTEST_MODE] {
+ if {![info exists GDB_PERFTEST_MODE]} {
return
}
if { [string compare $GDB_PERFTEST_MODE "run"] != 0 } {
+ # tclint-disable-next-line command-args
if { [eval compile {$compile}] } {
untested "failed to compile"
return
verbose -log "PerfTest::assemble, startup ..."
- if [eval startup {$startup}] {
+ # tclint-disable-next-line command-args
+ if {[eval startup {$startup}]} {
fail "startup"
return
}
verbose -log "PerfTest::assemble, run ..."
- if [eval run {$run}] {
+ # tclint-disable-next-line command-args
+ if {[eval run {$run}]} {
fail "run"
}
proc allow_perf_tests { } {
global GDB_PERFTEST_MODE
- if [info exists GDB_PERFTEST_MODE] {
+ if {[info exists GDB_PERFTEST_MODE]} {
if { "$GDB_PERFTEST_MODE" != "compile"
&& "$GDB_PERFTEST_MODE" != "run"
&& "$GDB_PERFTEST_MODE" != "both" } {