summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.pass1-4/buildok.exp
blob: 12275c1dac3f4a89bafef5b16b9e898e64c13f64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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/twentyseven.stp {setup_kfail 4166 *-*-*}
        buildok/sched_test.stp {setup_kfail 1155 *-*-*}
        buildok/process_test.stp {setup_kfail 1155 *-*-*}
        buildok/rpc-all-probes.stp {setup_kfail 4413 *-*-*}
        buildok/nfs-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 }
}