summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.exelib/lib.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.exelib/lib.tcl')
-rw-r--r--testsuite/systemtap.exelib/lib.tcl13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/systemtap.exelib/lib.tcl b/testsuite/systemtap.exelib/lib.tcl
new file mode 100644
index 00000000..d34ac9ff
--- /dev/null
+++ b/testsuite/systemtap.exelib/lib.tcl
@@ -0,0 +1,13 @@
+set ::result_string {main
+main_func
+main_func
+main_func
+lib_main
+lib_func
+lib_func
+lib_func}
+
+# Only run on make installcheck
+if {! [installtest_p]} { untested "lib-$testname"; return }
+if {! [utrace_p]} { untested "lib-$testname"; return }
+stap_run3 lib-$testname $srcdir/$subdir/lib.stp $testexe $testlib -c $testexe