]> sourceware.org Git - systemtap.git/commitdiff
PR9995: Test for [installtest_p] && [utrace_p].
authorMark Wielaard <mjw@redhat.com>
Thu, 2 Apr 2009 12:48:37 +0000 (14:48 +0200)
committerMark Wielaard <mjw@redhat.com>
Thu, 2 Apr 2009 12:48:37 +0000 (14:48 +0200)
testsuite/systemtap.base/sdt.exp

index 46fa5a2859a5911d592991b9791cd82e511a93cb..c3aed91eb37ec013c5ae273d2e9a0566d86b260c 100644 (file)
@@ -36,7 +36,7 @@ if { $res != "" } {
     pass "compiling $test.c $extra_flag"
 }
 
-if {[installtest_p]} {
+if {[installtest_p] && [utrace_p]} {
   stap_run3 "$test $extra_flag" $srcdir/$subdir/$test.stp $testprog -c ./$testprog
 } else {
   untested "$test $extra_flag"
@@ -61,7 +61,7 @@ if { $res != "" } {
     pass "compiling $test.c c++ $extra_flag"
 }
 
-if {[installtest_p]} {
+if {[installtest_p] && [utrace_p]} {
   stap_run3 "$test c++ $extra_flag" $srcdir/$subdir/$test.stp $testprog -c ./$testprog
 } else {
   untested "$test c++ $extra_flag"
This page took 0.030057 seconds and 5 git commands to generate.