set self buildok foreach file [lsort [glob -nocomplain $srcdir/$self/*.stp]] { set test $self/[file tail $file] verbose -log "Running $file" set rc [stap_run_batch $file] # some tests are known to fail. switch $test { buildok/perfmon01.stp {setup_kfail 909 *-*-*} buildok/rpc-all-probes.stp {setup_kfail 4413 *-*-*} buildok/per-process-syscall.stp {if {![utrace_p]} { setup_kfail 9999 *-*-*} } } if {$rc == 0} { pass $test } else { fail $test } }