proc stap_test {exec_name {arg ""}} {
global testfile hex srcfile
- if {[prepare_for_testing ${testfile}.exp ${exec_name} $srcfile \
+ if {[prepare_for_testing "failed to prepare" ${exec_name} $srcfile \
[concat $arg debug]]} {
return -1
}
proc stap_test_no_debuginfo {exec_name {arg ""}} {
global testfile hex
- if {[prepare_for_testing ${testfile}.exp ${exec_name} ${testfile}.c \
+ if {[prepare_for_testing "failed to prepare" ${exec_name} ${testfile}.c \
{$arg nodebug optimize=-O2}]} {
return -1
}
with_test_prefix "without semaphore, not optimized" {
if {[stap_test "stap-probe-nosem-noopt"] == -1} {
- untested stap-probe.exp
+ untested "stap probe test failed"
return -1
}
}