testsuite/systemtap.exelib/lib.tcl
raw| 1 | set ::result_string {main |
| 2 | main_func 3 |
| 3 | main_func 2 |
| 4 | main_func 1 |
| 5 | lib_main |
| 6 | lib_func 3 |
| 7 | lib_func 2 |
| 8 | lib_func 1} |
| 9 | |
| 10 | # Only run on make installcheck |
| 11 | if {! [installtest_p]} { untested "lib-$testname"; return } |
| 12 | if {! [uprobes_p]} { untested "lib-$testname"; return } |
| 13 | stap_run3 lib-$testname $srcdir/$subdir/lib.stp $testexe $testlib -c $testexe |