# Simple function to test that systemtap ++ works

set test "inc"

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