# Check function definitions

set test "func_definition"
if {![installtest_p]} { untested "$test"; return }

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