This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch]patch for some systemtap test cases failure


Frank Ch. Eigler wrote:
"bibo,mao" <bibo.mao@intel.com> writes:

[...]
 set stappath [exec which stap]
-set stpdpath [exec dirname $stappath]/../libexec/systemtap/stpd
+set stpdpath [exec dirname $stappath]/stpd
[...]

The pass-5 tests are meant to run against an *installed* copy of systemtap (i.e., the result of a "make install"), not the parts as they happen to be arranged in the build tree. In the former, the stpd binary will not be alongside stap.

- FChE

yes, it is. But in the nightly test script stap_testing, it defines export PATH=${STAP_OBJ}:$PATH, and it will first search STAP_OBJ directory, where stap is in the same directory with stpd.
Maybe the test script need modification :)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]