summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.pass1-4/buildko.exp
blob: a5560511ddad3635cc2b3892b8deb80e612c1356 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
set self buildko
foreach file [lsort [glob -nocomplain $srcdir/$self/*.stp]] {
    set test $self/[file tail $file]
    verbose -log "Running $file"
    set rc [stap_run_batch $file]
    if {$rc < 0} {
	# crashed
	fail $test
    } else {
	setup_xfail *-*-*
	if {$rc == 0} { pass $test } else { fail $test }
    }
}