doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/break_and_continue.exp
raw| 1 | # Check break and continue in for, foreach and while work correctly |
| 2 | |
| 3 | set test "break_and_continue" |
| 4 | |
| 5 | foreach runtime [get_runtime_list] { |
| 6 | if {$runtime != ""} { |
| 7 | stap_run $test no_load $all_pass_string \ |
| 8 | --runtime=$runtime -w $srcdir/$subdir/$test.stp |
| 9 | } else { |
| 10 | stap_run $test no_load $all_pass_string \ |
| 11 | -w $srcdir/$subdir/$test.stp |
| 12 | } |
| 13 | } |