diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-11-29 16:49:31 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-11-29 16:49:31 -0500 |
commit | 19dccbf52500e1be9675ae3c26fd7c4ac3d45079 (patch) | |
tree | c7daa80219eb79669c7aa647d260f5a86251a605 /testsuite | |
parent | f4d5049b5d74cf907c5c5bba3130306adff0205d (diff) | |
download | systemtap-steved-19dccbf52500e1be9675ae3c26fd7c4ac3d45079.tar.gz systemtap-steved-19dccbf52500e1be9675ae3c26fd7c4ac3d45079.tar.xz systemtap-steved-19dccbf52500e1be9675ae3c26fd7c4ac3d45079.zip |
test suite: simplify static-uprobes pass/fail messages
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | testsuite/systemtap.base/static_uprobes.exp | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index d6fc7686..2652aad4 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-11-29 Frank Ch. Eigler <fche@elastic.org> + + * systemtap.base/static_uprobes.exp: Simplified pass/fail messages. + 2008-11-28 Frank Ch. Eigler <fche@elastic.org> PR5376. diff --git a/testsuite/systemtap.base/static_uprobes.exp b/testsuite/systemtap.base/static_uprobes.exp index 2e1c41e1..eb878405 100644 --- a/testsuite/systemtap.base/static_uprobes.exp +++ b/testsuite/systemtap.base/static_uprobes.exp @@ -48,10 +48,10 @@ close $fp set res [target_compile $sup_srcpath $sup_exepath executable $sup_flags] if { $res != "" } { verbose "target_compile failed: $res" 2 - fail "unable to compile $sup_srcpath" + fail "compiling static_uprobes.c" return } else { - pass "compiling $sup_srcpath" + pass "compiling static_uprobes.c" } set ok 0 @@ -84,10 +84,10 @@ set sup_flags "additional_flags=-iquote$env(SYSTEMTAP_RUNTIME) additional_flags= set res [target_compile $sup_srcpath $sup_exepath executable $sup_flags] if { $res != "" } { verbose "target_compile failed: $res" 2 - fail "unable to compile $sup_srcpath" + fail "compiling sduprobes.c -g" return } else { - pass "compiling $sup_srcpath" + pass "compiling sduprobes.c -g" } spawn stap -c $sup_exepath $srcdir/$subdir/static_uprobes.stp @@ -102,4 +102,4 @@ expect { wait -if {$ok == 6} { pass "$test" } { fail "$test (Got $ok Expected 3)" } +if {$ok == 6} { pass "$test" } { fail "$test ($ok)" } |