Hi! > I'm (still...) working on a new test case for testing the NO_HZ_FULL > kernel feature available from Linux 3.10. This test code depends on a > tool that performs CPU isolation, which is a requirement for the > NO_HZ_FULL to work. > > It was previously proposed that this tool, rt-tools, would be a git > submodule to ltp. That sounded good in the beginning, until I started > to think about cross-compile, altering install location, etc. Since > rt-tools uses cmake, and ltp uses autotools, there is no automatic > inheritance of configuration. It would therefore be easy to miss copying > some configuration from configure to the cmake invocation, causing > surprises. > > Since the test case is not intended to be part of default, I suggest > the simple solution: Just document in the README file that this test > case requires that the rt-tools are built and installed before the test > case is run on target, and instructions how to get started with that.
Sounds ok to me. If the tool installs binaries somewhere to the $PATH you just have to assert that these are installed. For bash code there is tst_check_cmds function. For C code you can probably use tst_get_path(). In short make sure that the test exits louldy if these are not installed and point the user to a README in the message. -- Cyril Hrubis chru...@suse.cz ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list