# Check break and continue in for, foreach and while work correctly

set test "break_and_continue"

foreach runtime [get_runtime_list] {
    if {$runtime != ""} {
	stap_run $test no_load $all_pass_string \
	    --runtime=$runtime -w $srcdir/$subdir/$test.stp 
    } else {
	stap_run $test no_load $all_pass_string \
	    -w $srcdir/$subdir/$test.stp 
    }
}
