doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/try_assign.exp
raw| 1 | set test_file_name "try_assign" |
| 2 | set test test_file_name |
| 3 | |
| 4 | if {! [installtest_p]} { untested $test_file_name; return } |
| 5 | |
| 6 | foreach runtime [get_runtime_list] { |
| 7 | if {$runtime != ""} { |
| 8 | lappend test "($runtime)" |
| 9 | stap_run $test no_load $all_pass_string \ |
| 10 | --runtime=$runtime $srcdir/$subdir/$test_file_name.stp |
| 11 | } else { |
| 12 | stap_run $test no_load $all_pass_string $srcdir/$subdir/$test_file_name.stp |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | |
| 17 |