diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-04-02 14:42:02 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-04-02 14:42:02 +0200 |
commit | 253b87b64211fe41e06b162ea11948ccad101ba7 (patch) | |
tree | b09b2bb83f61fcf5d04225f1c9850c7c56b6ddae | |
parent | 5ff8be611e2460ad5e0a15e1cd0936c38e518c7f (diff) | |
download | systemtap-steved-253b87b64211fe41e06b162ea11948ccad101ba7.tar.gz systemtap-steved-253b87b64211fe41e06b162ea11948ccad101ba7.tar.xz systemtap-steved-253b87b64211fe41e06b162ea11948ccad101ba7.zip |
Check for utrace in usymbols.exp.
-rw-r--r-- | testsuite/systemtap.context/usymbols.exp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/systemtap.context/usymbols.exp b/testsuite/systemtap.context/usymbols.exp index f95fd896..82f68b67 100644 --- a/testsuite/systemtap.context/usymbols.exp +++ b/testsuite/systemtap.context/usymbols.exp @@ -10,8 +10,9 @@ set testflags "additional_flags=-g additional_flags=-O" set testlibflags "testflags additional_flags=-fPIC additional_flags=-shared" set maintestflags "$testflags additional_flags=-L$testlibdir additional_flags=-l$testlibname additional_flags=-Wl,-rpath,$testlibdir" -# Only run on make installcheck -if {! [installtest_p]} { untested "$test -p5"; return } +# Only run on make installcheck and utrace present. +if {! [installtest_p]} { untested "$test"; return } +if {! [utrace_p]} { untested "$test"; return } # Compile our test program and library. set res [target_compile $testsrclib $testso executable $testlibflags] |